P is for Practical | |
PerlMonks |
Re^2: RFC: Is there more to alias?by xmath (Hermit) |
on Aug 25, 2004 at 08:53 UTC ( [id://385621]=note: print w/replies, xml ) | Need Help?? |
Yes.
Note that alias @x[0..$#x] = @y[0..$#y] would only do what you probably want when $#x == $#y. If you simply want to replace the contents of @x with aliases, use alias +(@x) = @y (or perhaps alias((@x) = @y), matter of taste)
In Section
Meditations
|
|