http://www.perlmonks.org?node_id=1021964

Rash_10oct has asked for the wisdom of the Perl Monks concerning the following question:

hiii... I am a newbie to this forum and perl script as well. i was wondering how to validate the command line input.. for e.g...i want to check that if the file entered by the user is valid, then the script should perform its action. otherwise a message "please enter a valid file name" should be displayed. Please suggest..

Replies are listed 'Best First'.
Re: validating the command line input
by kielstirling (Scribe) on Mar 06, 2013 at 07:59 UTC
Re: validating the command line input
by Anonymous Monk on Mar 06, 2013 at 07:29 UTC
      Wholly accurate, if a bit "RTFM".
Re: validating the command line input
by clueless newbie (Curate) on Mar 06, 2013 at 12:51 UTC