I have the following code :
require LWP::UserAgent;
my $ua = new LWP::UserAgent;
my $result = $ua ->  get('http://somewhere .com');
 
When I print $ua, I got :LWP::UserAgent=HASH(0x1a953c4)
When I print $result, I got HTTP::Response=LWP::UserAgent=HASH(0x1a953c4)

What's that mean ? And how can I extract the page data that I want ?

I tried print ref $result, I got HTTP::Response...... So what's that mean too ?

Thanks in advise.

Reply via email to