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.
In reply to Re^3: LWP::Simple... Enough for Site Query & Data Download?
by Your Mother
in thread LWP::Simple... Enough for Site Query & Data Download?
by cheech
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |