Help for this page
use LWP::Simple; my $res = get( 'http://mysite.com/cgi-bin/script2.pl?sent=Hello+World' + ); if ( $res eq 'OK' ) { # blah }