On Wed, Nov 15, 2006 at 10:28:41AM -0600, Jonathan Rockway wrote: : For reference, this sort of operation works if you write it on two : lines, like: : : my ($a, $b); : ($a, undef, $b) = 1..3; : say "$a is 1 and $b is 3"; : : I'll look around in the source and see if I can make this work like : perl5 (unless that's a bad idea for some reason).
That will just be "my ($a, $, $b) = 1..3" in Perl 6. It should be an error to try to modify undef, I think, and we have a notation for anonymous variables, so why not use it? Larry