|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re^4: Trouble getting size of list returned from subby Anonymous Monk |
| on Nov 26, 2012 at 15:24 UTC ( #1005695=note: print w/ replies, xml ) | Need Help?? |
|
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
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||