You should use this: testscript.pl blah

where blah is the value to pass.



Ben Crane wrote:

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>




Reply via email to