in reply to RFC: Is there more to alias?
In that line of thought, what happens when you do this?
Will @x turn out to have 1..11 or 1..10 at this point?my @y = 1..10; alias my @x = @y; push @y, 11; print map "$_\n", @x;
The answer should be clearly documented, and will matter a lot if someone wants to make the source filter that I suggested above.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: RFC: Is there more to alias?
by xmath (Hermit) on Aug 25, 2004 at 08:49 UTC | |
|
Re^2: RFC: Is there more to alias? (perl6)
by tye (Sage) on Aug 25, 2004 at 14:33 UTC | |
by Aristotle (Chancellor) on Aug 25, 2004 at 15:34 UTC |