in reply to Filling out a form on password page
An example for simple form-filling:
best regards,#!/usr/bin/perl use strict; use warnings; use WWW::Mechanize; my $mech = WWW::Mechanize->new(); my $page = "http://www.heise.de/newsticker/"; $mech->get($page); $mech->form_number('2'); $mech->field('T' => 'SCO'); my $results = $mech->submit(); print $results->content(), "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Filling out a form on password page
by Anonymous Monk on Mar 11, 2004 at 16:22 UTC | |
by Anonymous Monk on Jul 27, 2007 at 18:02 UTC |