in reply to Re^3: WWW::Mechanize can't GET; no helpful error message comes back
in thread WWW::Mechanize can't GET; no helpful error message comes back
I don't think it is necessary to put the 'or die "Can't create mech" part? Also,I have a brief tutorial that I have requested for comment using WWW::Mechanize that is in the meditations sectionuse WWW::Mechanize; my $mech = WWW::Mechanize->new(); $mech->get ('http://google.com'); my $content = $mech->content; print $content;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: WWW::Mechanize can't GET; no helpful error message comes back
by runrig (Abbot) on Jun 06, 2013 at 23:13 UTC |