N
Nagaraju.Bussa
Hi,
I would like to know is it possible to launch a browser(Say IE) and
execute one web url
from perl or shell script.
please post some code regarding the same.
thanks
I have code some thing like this..
use strict;
use URI::URL;
use LWP::UserAgent;
my $url = URI::URL->new("www.yahoo.com");
my $req = HTTP::Request->new("GET", $url);
my $ua = LWP::UserAgent->new();
my $resp = $ua->request($req);
if ($resp->is_success) {
print $resp-> content;
} else {
exit 1;
}
When I execute this script, the response is printing on the unix
console,I want this to open on a browser, please let me know your
inputs.
thanks,
I would like to know is it possible to launch a browser(Say IE) and
execute one web url
from perl or shell script.
please post some code regarding the same.
thanks
I have code some thing like this..
use strict;
use URI::URL;
use LWP::UserAgent;
my $url = URI::URL->new("www.yahoo.com");
my $req = HTTP::Request->new("GET", $url);
my $ua = LWP::UserAgent->new();
my $resp = $ua->request($req);
if ($resp->is_success) {
print $resp-> content;
} else {
exit 1;
}
When I execute this script, the response is printing on the unix
console,I want this to open on a browser, please let me know your
inputs.
thanks,