in reply to Re: Can a whole web page be saved using Perl?
in thread Can a whole web page be saved using Perl?

Sorry for the late reply. Was tied up with other things. I cant use the WWW::Mechanize because it does not allow javascript execution and the $ie->content() returns me the following

<HTML><HEAD><LINK rel=stylesheet href="c1.css"></HEAD></HTML>

Sorry for my ignorance but does'nt the below code need a LWP package rather than Win32::IE::Mechanize?

$agent->Document->documentElement->{innerHTML}

Thanks,
Eshwar
  • Comment on Re^2: Can a whole web page be saved using Perl?

Replies are listed 'Best First'.
Re^3: Can a whole web page be saved using Perl?
by Anonymous Monk on Aug 15, 2009 at 09:17 UTC
    That is not code that demonstrates your problem. content works as advertised for me.
Re^3: Can a whole web page be saved using Perl?
by Anonymous Monk on Aug 15, 2009 at 09:15 UTC
    my $ie = Win32::IE::Mechanize->new ... my $agent = $ie->agent;