in reply to Server to Server communication

use LWP::Simple; my $site = 'http://.....'; my $res = get($site); if ( ! $res ) { print "Did not get response"; } elsif ( $res =~ m/true/i ) { # blah } elsif ( $res =~ m/false/i ) { # blah } else { print "Unknown response $res"; }

cheers

tachyon

Replies are listed 'Best First'.
Re^2: Server to Server communication
by Hammy (Scribe) on Sep 12, 2004 at 15:03 UTC
    Sorry for the late response - thank you very much, this is what I was looking for!