Author: pmichaud Date: 2009-10-04 16:26:35 +0200 (Sun, 04 Oct 2009) New Revision: 28589
Modified: docs/Perl6/Spec/S08-capture.pod Log: [S08]: Some notes where online discussions are at odds with the spec. Modified: docs/Perl6/Spec/S08-capture.pod =================================================================== --- docs/Perl6/Spec/S08-capture.pod 2009-10-04 10:28:18 UTC (rev 28588) +++ docs/Perl6/Spec/S08-capture.pod 2009-10-04 14:26:35 UTC (rev 28589) @@ -119,8 +119,14 @@ say $a[1]; In that case, you'll get C<2, (3, 4)> (or whatever is implemented in -the .Str method of that specific Parcel). But, you should be able to: +the .Str method of that specific Parcel). +[Update: The above (and much of what follows below) doesn't conform +to the latest discussion on parcels; parcels flatten under item assignment. +See L<http://irclog.perlgeek.de/perl6/2009-09-23#i_1532822>.] + +But, you should be able to: + say $a[1;0]; Which is going to return C<2>, which is almost the same as: @@ -221,6 +227,9 @@ The latter is provided as an alternative for situations where you want to preserve the code in 7-bits only. +[Update: C<@%a> might not work out as a capture sigil -- +See L<http://irclog.perlgeek.de/perl6/2009-09-21#i_1523801>.] + =head1 Additions Please post errors and feedback to perl6-language. If you are making