Octavian,

you could always use LWP::Simple to do a HTTP request (from your main
script) to your function perl cgi program.

e.g.

 use LWP::Simple;
 $content = get("/cgi-bin/myscript.pl?name=joel&age=32";)


joel
-----Original Message-----
From: Octavian Rasnita [mailto:[EMAIL PROTECTED]]
Sent: 12 August 2002 16:51
To: [EMAIL PROTECTED]
Subject: A function for running another Perl script?


Hi all,

Is there a function for running another Perl script with a query string, or
some parameters?

I can run a Perl script using the do function, but I couldn't make it to
send a query string nor some parameters.

Is it necessary to run "perl $script" with a "system" function, or there is
a built in function that can do that?

Thank you.

Teddy's Center: http://teddy.fcc.ro/
Mail: [EMAIL PROTECTED]



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to