Hi,

Is there any idea on using UserAgent::FramesReady for getting the content
inside a frame of asp page?

I use something similar below, it told me 'browser not support frames'?


Thanks, CHAN


----
#!/usr/bin/perl

use LWP::Simple;
use LWP::UserAgent;
use LWP::UserAgent::FramesReady;

$ua = new LWP::UserAgent::FramesReady;
$bstring="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 
1.1.4322)";
$ua->agent($bstring); 

my $response = $ua->get("http://www.abc.com/test.asp?code=123";);

if ($response->is_success) {
     print $response->content;  # or whatever
}
else {
    die $response->status_line;
}




Reply via email to