Author: szabgab Date: 2009-04-29 10:44:57 +0200 (Wed, 29 Apr 2009) New Revision: 26551
Modified: docs/Perl6/Spec/S02-bits.pod docs/Perl6/Spec/S04-control.pod t/01-sanity/04-if.t t/01-sanity/06-use.t t/01-sanity/07-range.t Log: adding smartlinks and X<> tags Modified: docs/Perl6/Spec/S02-bits.pod =================================================================== --- docs/Perl6/Spec/S02-bits.pod 2009-04-29 08:40:15 UTC (rev 26550) +++ docs/Perl6/Spec/S02-bits.pod 2009-04-29 08:44:57 UTC (rev 26551) @@ -3596,6 +3596,7 @@ functioning as a comma. Both sides are in item context. =item * +X<..> The C<< .. >> operator now constructs a C<Range> object rather than merely functioning as an operator. Both sides are in item context. Semantically, Modified: docs/Perl6/Spec/S04-control.pod =================================================================== --- docs/Perl6/Spec/S04-control.pod 2009-04-29 08:40:15 UTC (rev 26550) +++ docs/Perl6/Spec/S04-control.pod 2009-04-29 08:44:57 UTC (rev 26551) @@ -185,6 +185,7 @@ while yin() { yang() } ==> sort # okay, ==> separates statements =head1 Conditional statements +X<if>X<unless> The C<if> and C<unless> statements work much as they do in PerlĀ 5. However, you may omit the parentheses on the conditional: Modified: t/01-sanity/04-if.t =================================================================== --- t/01-sanity/04-if.t 2009-04-29 08:40:15 UTC (rev 26550) +++ t/01-sanity/04-if.t 2009-04-29 08:44:57 UTC (rev 26551) @@ -2,6 +2,7 @@ # Checking that testing is sane: if +# L<S04/Conditional statements> say '1..2'; Modified: t/01-sanity/06-use.t =================================================================== --- t/01-sanity/06-use.t 2009-04-29 08:40:15 UTC (rev 26550) +++ t/01-sanity/06-use.t 2009-04-29 08:44:57 UTC (rev 26551) @@ -18,6 +18,8 @@ # plan at runtime. --iblech, 2005-09-19. say '1..1'; +# L<S11/Compile-time Importation> + # We try to load an arbitrary module. use lib "."; Modified: t/01-sanity/07-range.t =================================================================== --- t/01-sanity/07-range.t 2009-04-29 08:40:15 UTC (rev 26550) +++ t/01-sanity/07-range.t 2009-04-29 08:44:57 UTC (rev 26551) @@ -1,5 +1,8 @@ use v6; +# L<S04/Conditional statements> +# should be: L<S02/Lists/The C<< .. >> operator now constructs a> +# L<S02/Lists/functioning as an operator> say "1..4";