's -DBC# Test if the is an argument if(!@ARGV) { die "My help message\n"; } # Test if the argument is a file if(! -e $ARGV[0]) { print "File $ARGV0 does not exist\n"; }
In reply to Re: Testing <> for undefined
by danielcid
in thread Testing <> for undefined
by kayak9630
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |