On Tue, Feb 07, 2012 at 08:20:06AM -0500, Shawn H Corey wrote: > On 12-02-07 03:01 AM, Jeff Peng wrote: > >"shift" means "shift @_" in Perl. > > Inside a sub, shift without an argument will shift @_. Outside, it > will shift @ARGV. It is always best to explicitly state the array:
All generalisations are false. -- Paul Johnson - p...@pjcj.net http://www.pjcj.net -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/