Hans Ginzel wrote:

John W. Krahn napsal(a):

arguments.  Then how come I cannot access the first
element with $ARGV[0]?


Are tou not thinking on $0?

HG

I think @ARGV wont work in command line.
Try to write the code in a script and check it out.

#!/usr/bin/perl -w

print $ARGV[0];


$ perl script.pl arg_1





--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to