Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^3: shift vs @_by chromatic (Archbishop) |
on Oct 03, 2006 at 02:03 UTC ( [id://575993]=note: print w/replies, xml ) | Need Help?? |
Besides style, is there any performance penalty paid by shift? Yes; if you do it repeatedly hundreds of thousands of times in a tight loop, you might slow down your program as much as performing one IO operation. In other words, none that you will ever notice.
In Section
Seekers of Perl Wisdom
|
|