A question from a naive Perl programmer

2000-06-12 Thread Ehsan Amiri
Hi all I am a naive perl programmer and I have a simple qustion: How can I pass parameters to my perl program from command-line? Thanks E.A.

Re: A question from a naive Perl programmer

2000-06-12 Thread Vivek Khera
"EA" == Ehsan Amiri [EMAIL PROTECTED] writes: EA How can I pass parameters to my perl program from command-line? There is no command line for mod_perl programs. All info must come from either the environment or from the URI or from CGI parameters. --

Re: A question from a naive Perl programmer

2000-06-12 Thread Rob Tanner
Wrong list for naive perl questions revolving around command-line parameters -- but what the hey... And I hope you're not really trying to pass command-line parms to a modperl module, 'cause it won't work. The simplest way is simple the @ARGV array. it contains all the command-line tokens