Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi.
I am seeking some help with a script that triggers a script on a server to begin a process.
-james
I am seeking some help with a script that triggers a script on a server to begin a process.
I have no great experience as perl expert. Here is what I have:
Thanks for any and all help.use HTTP::Request; use LWP::UserAgent; # Variables # my $url = "http://somedomain.com/cgi-bin/somescript.cgi?variouscharact +ers"; my $ua = new LWP::UserAgent; my $res = $ua->request(POST $url); if ($res->success) { print $res->content || die "Not possible\n"; }
-james
edited by ybiC: balanced <code> tags
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: URL post
by arthas (Hermit) on Aug 18, 2003 at 23:24 UTC | |
Re: URL post
by tcf22 (Priest) on Aug 19, 2003 at 00:52 UTC |
Back to
Seekers of Perl Wisdom