in reply to Re^8: Does @{ } copy arrays?
in thread Does @{ } copy arrays?
And yes of course I consider my example to pass $#a as an argument an extremely common case.
The validity of your example as a counter-argument relies not just upon passing $#a as an argument to a sub, but also on:
sub ...{ my( ..., ... ) = @_; }
I bet you cannot find a single example of anyone doing this on cpan; or in any publically available piece of real code.
Ergo, not a common case.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: Does @{ } copy arrays?
by LanX (Saint) on Oct 23, 2009 at 19:43 UTC | |
by BrowserUk (Patriarch) on Oct 23, 2009 at 22:11 UTC |