@@ -790,17 +790,17 @@ For look-around assertions:
790
790
791
791
= item C < (?=[abc]) > becomes C « <?[abc]> »
792
792
793
- = item C < (?=ar?bitrary* pattern) > becomes C « <before ar?bitrary pattern> »
793
+ = item C < (?=ar?bitrary* pattern) > becomes C « <before ar?bitrary* pattern> »
794
794
795
795
= item C < (?!=[abc]) > becomes C « <![abc]> »
796
796
797
- = item C < (?!=ar?bitrary* pattern) > becomes C « <!before ar?bitrary pattern> »
797
+ = item C < (?!=ar?bitrary* pattern) > becomes C « <!before ar?bitrary* pattern> »
798
798
799
- = item C « (?<=ar?bitrary* pattern) » becomes C « <after ar?bitrary pattern> »
799
+ = item C « (?<=ar?bitrary* pattern) » becomes C « <after ar?bitrary* pattern> »
800
800
801
- = item C « (?<!ar?bitrary* pattern) » becomes C « <!after ar?bitrary pattern> »
801
+ = item C « (?<!ar?bitrary* pattern) » becomes C « <!after ar?bitrary* pattern> »
802
802
803
- (Unrelated to <> syntax, the "lookaround" C < /foo\Kbar/ > becomes C < /foo <( bar /> ) >
803
+ (Unrelated to <> syntax, the "lookaround" C < /foo\Kbar/ > becomes C « /foo <( bar )> / »
804
804
805
805
= item C < (?(?{condition))yes-pattern|no-pattern) > becomes C « [ <?{condition}>
806
806
yes-pattern | no-pattern ]»
@@ -822,8 +822,6 @@ TODO more rules. Use C<translate_regex.pl> from Blue Tiger in the meantime.
822
822
823
823
Strict mode is now on by default.
824
824
825
- (XXX C < no strict > will work someday, but NYI?)
826
-
827
825
= head4 C < warnings >
828
826
829
827
Warnings are now on by default.
@@ -833,7 +831,7 @@ Warnings are now on by default.
833
831
= head4 C < autodie >
834
832
835
833
The functions which were altered by C < autodie > to throw exceptions on
836
- error, now throw exceptions by default.
834
+ error, now throw exceptions by default unless you test the return value explicitly .
837
835
838
836
# Perl 5
839
837
open my $i_fh, '<', $input_path; # Fails silently on error
@@ -861,7 +859,10 @@ C<is> keyword, in the class declaration.
861
859
862
860
No longer relevant.
863
861
864
- Perl 6 now transparently upgrades Int Num Rat to their Big versions as needed.
862
+ C < Int > is now arbitrary precision, as is the numerator of C < Rat > (the
863
+ denominator is limited to C < 2**64 > , after which it will automatically
864
+ upgrade to C < Num > to preserve performance). If you want a C < Rat > with
865
+ an arbitrary-precision denominator, C < FatRat > is available.
865
866
866
867
= head4 C < constant >
867
868
@@ -981,7 +982,7 @@ Gone.
981
982
The Perl 6 design allows for automatic transparent saving-and-loading of
982
983
compiled bytecode.
983
984
984
- No Perl 6 compiler supports it yet .
985
+ Rakudo supports this only for modules so far .
985
986
986
987
987
988
0 commit comments