Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

validating the command line input

by Rash_10oct
on Mar 06, 2013 at 07:05 UTC ( #1021964=perlquestion: print w/ replies, xml ) Need Help??
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..

Comment on validating the command line input
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 kielstirling (Scribe) on Mar 06, 2013 at 07:59 UTC
Re: validating the command line input
by clueless newbie (Friar) on Mar 06, 2013 at 12:51 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1021964]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (10)
As of 2014-10-31 13:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (217 votes), past polls