On Fri, 24 Oct 2003 12:10:29 -0700, you wrote: >- If an array is 'shift'ed is the top scalar returned and removed from the >array?
Yes, and one other thing to note: If no array is specified, shift works on @_ within subroutines and formats, and @ARGV everywhere else. There's also pop, which removes and returns the last element of an array and has the same defaults. You probably won't see too much code using @ARGV as the default with either function. -- Eric Amick Columbia, MD _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
