--- "Adam D. Lopresto" <[EMAIL PROTECTED]> wrote:
> The modifier to turn off warnings on a line would be ;), winking at
> us to let us know it's up to something.
I wondered about paren-after-semi, and thought about C<for(;;)>. Which
led me to C<@array[a;b;c]>, then to (a;b;c;), which let me to this:
Given that @array[1;2;3] is a multi-dimensional reference, is there a
"tuple" data type/element/constructor?
Can I say, forex,
my $address = tuple(1;3;5);
and then
my $data = @array[$address];
and GWIW?
Also, can I C<assume> certain dimensions?
my @ary is dim(3;3;3) is default('.');
my $vct ::= @ary.assuming( .[0;;0] };
$vct[0..2] = 0..2;
@ary.print; # DWIM!
[ . 0 . ]
[ . 1 . ]
[ . 2 . ]
Ignoring the DWIM, how much of that works?
=Austin