in reply to WWW::Mechanize questions

I think you just want this:
$mech->form_name('content')->action('preview.aspx');
Note that you may have to turn off the readonly() attribute of those hidden inputs before Mech will let you change them.

To make a full copy of a Mech object, try Storable's dclone() method.

Replies are listed 'Best First'.
Re^2: WWW::Mechanize questions
by puff (Beadle) on Oct 28, 2005 at 16:25 UTC
    A bit of reading (RTFM puff) reveals from CPAN
    WWW::Mechanize is a proper subclass of LWP::UserAgent and you can also use any of LWP::UserAgent's methods.
    And then for LWP::Agend
    $ua->clone; ... Returns a copy of the LWP::UserAgent object
    And of course
    $mech->request( $request [, $arg , $size])