perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabián R. Breschi" <fabian.bres...@acm.org>
Subject How to pass parameters from the UNIX command line ?
Date Fri, 08 Aug 2003 12:18:27 GMT
Dear List,

It seems a silly one, anyway I'm somewhat confused about how to pass 
parameters from the UNIX command line:

Suppose I have my working PERL script and passed parameter on an URL as:

http://server.domain.com/cgi-bin/MyProcedure.pl?cust_id=x

I'd like to make a cron job to source the above PERL script as from the 
command line to resemble something like:

perl /usr/local/apache/cgi-bin/MyProcedure.pl   << need to pass the 
parameter here as cust_id=x

How can I tell the procedure to consider cust_id=x as it's input ?

Many thanks indeed for your patiente.

Fabian.


Mime
View raw message