in reply to Re^2: RFC: Is there more to alias? (perl6)
in thread RFC: Is there more to alias?
The following might work, and if so would cover several of the cases:
push @x, my $x := $_ for @y;
But that's still much clumsier than Data::Alias.
I have a hunch though that in Perl6 we'll be using the splat to do this, something remotely looking like
*@x := *@y;
Don't ask me about the precise syntax though.
Makeshifts last the longest.
|
|---|