ibanix has asked for the wisdom of the Perl Monks concerning the following question:
On this server, running it looks like this:use strict; use warnings; my $first = shift(@ARGV); my $second = shift(@ARGV); my $third = shift(@ARGV); print "$first\n"; print "$second\n"; print "$third\n";
On the other hand, it works as expected on my workstation:D:\argv_test.pl I like code I like code D:\
Both installations are vanilla ActivePerl v5.6.1.C:\>argv_test.pl I like code I like code C:\>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Is my @ARGV broken?
by rbc (Curate) on Jan 17, 2003 at 22:43 UTC | |
by ibanix (Hermit) on Jan 17, 2003 at 22:55 UTC | |
by ibanix (Hermit) on Jan 17, 2003 at 22:48 UTC | |
|
Re: Is my @ARGV broken?
by ibanix (Hermit) on Jan 17, 2003 at 22:45 UTC | |
|
Re: Is my @ARGV broken?
by Marza (Vicar) on Jan 17, 2003 at 22:39 UTC |