Nameofperlscript command1 command2 command3

Params stored in global variable @ARGV



> -----Original Message-----
> From: Ben Crane [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, December 09, 2003 11:23 AM
> To: [EMAIL PROTECTED]
> Subject: command line commands passed to perl script?
> 
> 
> Hi all,
> 
> Sorry, should have added this to my last email. Does
> anyone know how to pass values to a perl script
> through the command line? Do you use param as in CGI
> scripting/
> 
> I want a user to be able to specify certain parameters
> for the perl script (in case they want to run an
> overnight scheduler on it).
> 
> Eg. testscript.pl /? gives you help or testscript /a
> gives you another capability...
> 
> Ben
> 
> __________________________________
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing. 
http://photos.yahoo.com/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to