Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
difference between shift and assignmentby vinoth.ree (Monsignor) |
on Mar 05, 2009 at 05:56 UTC ( [id://748406]=perlquestion: print w/replies, xml ) | Need Help?? |
vinoth.ree has asked for the wisdom of the Perl Monks concerning the following question: Is there any difference between the two examples below in regards to performance or functionality? Using shift:
Using @_
I know that the shift will modifies @_, and the assignment from @_ does not.
Back to
Seekers of Perl Wisdom
|
|