>>>>> "Tim" == Tim Johnson <[EMAIL PROTECTED]> writes:
Tim> So you need to change your code to: Tim> If(@ARGV[0] eq "-q"){ Tim> print "It worked\n"; Tim> }else{ Tim> print "It did not work\n"; Tim> } And you really need to change @ARGV[0] to $ARGV[0], or else the "don't use an array slice when an element will do" police will be after you. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]