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
Back to
Seekers of Perl Wisdom