- Perl WWW::Mechanize::Firefox POST() Implementation
- my $mech = WWW::Mechanize::Firefox->new();
- $mech->allow( javascript =>1); # enable javascript
- # http
- $mech->get("http://www.example.com");
- my $c = $mech->content;
- $mech->get('http://www.website.com');
- $mech->submit_form(
- with_fields => {
- user => 'me',
- pass => 'secret',
- }
- );