>"Mark Weisman" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]
>How do you capture passed parameters in Perl on Windows? In regular perl
>its:
> $variable = param('passed');
Hi Mark,
Erm, are you talking about passing parameters on the command line or to a
cgi.
if you calling perl myscript.pl "hello";
then you want
print $ARGV[0];
if yours is a CGI then your right
ie http/..../my.cgi?colour=yellow
use CGI;
print param('colour');
(outputs "yellow")
Cheers, Rob
>
>However, when I tried to run that under windows, it dies a horrible
>death? I've looked through perl.org for more information about
>converting over my unix scripts to windows, any other good places out
>there for information?
>
>Sincerely in Christ,
>Mark-Nathaniel Weisman
>President / Owner
>Outland Domain Group Consulting
>Anchorage / Washington DC / Bellevue
>[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]