in reply to Re^2: LWP::Simple... Enough for Site Query & Data Download?
in thread LWP::Simple... Enough for Site Query & Data Download?
Go through the docs a little more carefully. You're printing the mech object, not the forms. Try this instead-
use WWW::Mechanize; use YAML (); my $mech = WWW::Mechanize->new(); $mech->get( "http://bub2.meteo.psu.edu/wxstn/wxstn.htm" ); print YAML::Dump [ $mech->forms ];
Next stop: the docs for HTML::Form.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: LWP::Simple... Enough for Site Query & Data Download?
by cheech (Beadle) on Jun 16, 2009 at 21:26 UTC | |
by Anonymous Monk on Jun 16, 2009 at 21:52 UTC | |
by cheech (Beadle) on Jun 16, 2009 at 22:12 UTC | |
by Anonymous Monk on Jun 17, 2009 at 00:17 UTC | |
by Your Mother (Archbishop) on Jun 16, 2009 at 22:42 UTC |