See. perlvar for more info on @ARGV.if(@ARGV and $ARGV[0] eq 'TEST') { print "$ARGV[0]\n"; }
_________
broquaint
update: 'pritn' ne 'print', thanks to particle
In reply to Re: using $ARGV without arguments
by broquaint
in thread using $ARGV without arguments
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |