in reply to Re^3: Trouble getting size of list returned from sub
in thread Trouble getting size of list returned from sub
Actually, it is not a scoping issue
Sure it is
By that logic, this should also save memory:
No, you're copying the list, same as map used to do, even in void context, instead of merely aliasing it -- @_ is alias until you copy it, but you figured that out yourself in Re: Trouble getting size of list returned from sub
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Trouble getting size of list returned from sub
by ColonelPanic (Friar) on Nov 26, 2012 at 15:40 UTC |
In Section
Seekers of Perl Wisdom