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.
In reply to Re^2: Processing ARGV
by kmullin
in thread Processing ARGV
by kmullin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |