Dan Brook wrote:

Will it be possible (or sane even) to bind a variable to an array slice


It *should* be, since it's possible (if ungainly) to do it in Perl 5:

use Data::Dumper 'Dumper';

@bar = (1,2,3);

*foo = (sub [EMAIL PROTECTED])->(@bar[1,0,3]);

print Dumper [EMAIL PROTECTED];

        $foo[0] = 9;
        $foo[1] = 11;
        $foo[2] = 13;

print Dumper [EMAIL PROTECTED];

Damian



Reply via email to