in reply to How To Pass To Another Server and Spawn Another Script
Like Tanktalus mentioned, sound like a job for LWP.
Simply post the required form data to the ServerB via LWP. The script on ServerB will need to send some sort of response which you can process in the script on ServerA
my $ua = LWP::UserAgent->new(); my $response = $ua->post( $url, { 'field1'=>$data1, 'field2'=>$data2, etc ); if ($response->is_success) { my $accepted = $response->content; #process data } else { #error }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How To Pass To Another Server and Spawn Another Script
by o2bwise (Scribe) on Oct 27, 2006 at 22:44 UTC |