On Wed, 13 Apr 2005 [EMAIL PROTECTED] wrote:
> Hi all. > I always see like : > .... > $a=shift; > ..... > shift what? @_ ? > > And how dose it work? Try this example and see if you understand what is happening. --------------------------------------- #!/usr/bin/perl use strict; my @array=(23,24,25,26); my [EMAIL PROTECTED]; print "$x\n"; [EMAIL PROTECTED]; print "$x\n"; [EMAIL PROTECTED]; print "$x\n"; [EMAIL PROTECTED]; print "$x\n"; --------------------------------------- Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>