in reply to using $ARGV without arguments
if(@ARGV and $ARGV[0] eq 'TEST') { print "$ARGV[0]\n"; } [download]
_________broquaint
update: 'pritn' ne 'print', thanks to particle