in reply to Re: Processing ARGV
in thread Processing ARGV
Interesting. When I run:
perl testARGV.pl 1 2 3 4 5
then I get
Start of testARGV.pland thats it! the error messages are gone, but where are the values I am trying to print? And I have the shebang in my code specifying
#!/opt/third/party/bin/perl -w
and I've verified that it does exists. (Its even in my PATH). When I do:
/opt/third-party/bin/perl -v
I see
This is perl, v5.6.0 built for Linux-2.4c2.3-i686 Copyright 1987-2000, Larry Wall Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5.0 source +kit. Complete documentation for Perl, including FAQ lists, should be found +on this system using `man perl' or `perldoc perl'. If you have access to + the Internet, point your browser at http://www.perl.com/, the Perl Home Pa +ge.
Any more comments? Why don't I get my command line arguments.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Processing ARGV
by chaos_cat (Scribe) on Dec 05, 2007 at 18:49 UTC | |
Re^3: Processing ARGV
by sh1tn (Priest) on Dec 05, 2007 at 18:29 UTC | |
by kmullin (Acolyte) on Dec 05, 2007 at 19:08 UTC | |
Re^3: Processing ARGV
by friedo (Prior) on Dec 05, 2007 at 18:20 UTC |