Tham, Philip wrote:
Hi
Hello,
I wanted to run the command
Command.pl abc cde def
I used http://www.....address/command.pl?abc&cde&def
However the script is passing only one argument abc&cde&def to the script.
How do I achieve the above.
You need to use CGI..
#!/usr/bin/perl
use strict; use warnings; use CGI;
my $abcx = CGI::param('abcx');
print CGi::header(); print "Hello, abcx is $abcx";
and then call it like this:
command.pl?abcx=abc
HTH :)
Lee.M - JupiterHost.Net
Philip Tham
MMS Lab support
Desk 425 580 1670
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>