in reply to style guidance

I am rather surprised that, on a topic with such a title, no one referred to "Perl Best Practices", which discusses the topic on page 180 (First Edition). TheDamian remarks that there are some circumstances when using shift is preferable. In a nutshell I read it to mean that this is when checking and commenting arguments singly.

If using Perl 5.10.0 there is an oops where an optimisation for list assignment was disabled, but I'm pretty sure it only applied to that release.

Replies are listed 'Best First'.
Re^2: style guidance
by 7stud (Deacon) on Nov 09, 2009 at 00:13 UTC

    there are some circumstances when using shift is preferable.

    To what? What are you referring to?