Skip to content

Commit aa52704

Browse files
committed
Merge branch 'master' of github.com:perl6/doc
2 parents 45ae7be + 3a1f29a commit aa52704

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

lib/Language/5to6.pod

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -790,17 +790,17 @@ For look-around assertions:
790790
791791
=item C<(?=[abc])> becomes C«<?[abc]>»
792792
793-
=item C<(?=ar?bitrary* pattern)> becomes C«<before ar?bitrary pattern>»
793+
=item C<(?=ar?bitrary* pattern)> becomes C«<before ar?bitrary* pattern>»
794794
795795
=item C<(?!=[abc])> becomes C«<![abc]>»
796796
797-
=item C<(?!=ar?bitrary* pattern)> becomes C«<!before ar?bitrary pattern>»
797+
=item C<(?!=ar?bitrary* pattern)> becomes C«<!before ar?bitrary* pattern>»
798798
799-
=item C«(?<=ar?bitrary* pattern)» becomes C«<after ar?bitrary pattern>»
799+
=item C«(?<=ar?bitrary* pattern)» becomes C«<after ar?bitrary* pattern>»
800800
801-
=item C«(?<!ar?bitrary* pattern)» becomes C«<!after ar?bitrary pattern>»
801+
=item C«(?<!ar?bitrary* pattern)» becomes C«<!after ar?bitrary* pattern>»
802802
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 )> /»
804804
805805
=item C<(?(?{condition))yes-pattern|no-pattern)> becomes C«[ <?{condition}>
806806
yes-pattern | no-pattern ]»
@@ -822,8 +822,6 @@ TODO more rules. Use C<translate_regex.pl> from Blue Tiger in the meantime.
822822
823823
Strict mode is now on by default.
824824
825-
(XXX C<no strict> will work someday, but NYI?)
826-
827825
=head4 C<warnings>
828826
829827
Warnings are now on by default.
@@ -833,7 +831,7 @@ Warnings are now on by default.
833831
=head4 C<autodie>
834832
835833
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.
837835
838836
# Perl 5
839837
open my $i_fh, '<', $input_path; # Fails silently on error
@@ -861,7 +859,10 @@ C<is> keyword, in the class declaration.
861859
862860
No longer relevant.
863861
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.
865866
866867
=head4 C<constant>
867868
@@ -981,7 +982,7 @@ Gone.
981982
The Perl 6 design allows for automatic transparent saving-and-loading of
982983
compiled bytecode.
983984
984-
No Perl 6 compiler supports it yet.
985+
Rakudo supports this only for modules so far.
985986
986987
987988

lib/Language/variables.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Although they may not be changed at runtime, the user is allowed to
174174
constant $?TABSTOP = 4; # this causes leading tabs in a heredoc or in a POD
175175
# block's virtual margin to be counted as 4 spaces.
176176
177-
For a list of these special variables see L<Compile-time variables>.
177+
For a list of these special variables see L<#Compile-time variables>.
178178
179179
=head2 The C<.> Twigil
180180

0 commit comments

Comments
 (0)