On Wed, 2008-10-01 at 05:04 +0200, Jeff Pang wrote:
> For an experienced *Perl* programmer, using shift rather than shift @_
> is more comfortable and natural.

You have just proven my point.  You have overlooked the fact the outside
a sub, shift without a parameter will shift @ARGV, not @_.  Even
experienced programmers need to be reminded of this.  That's why it's so
dangerous.  Even experience programmers can read it wrong.


-- 
Just my 0.00000002 million dollars worth,
  Shawn

Linux is obsolete.
-- Andrew Tanenbaum


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to