in reply to Re: Re: Re: Why doesn't $mech->title() change after $mech->submit_form?
in thread Why doesn't $mech->title() change after $mech->submit_form?

When I do ...
print $mech->content;
... I get ...
<HTML> <HEAD><TITLE>Props update example jsp</TITLE></HEAD> ...
... and $mech->success returns true. Why doesn't $mech->title() update? What'cha think ... is this a bug?

Plankton: 1% Evil, 99% Hot Gas.

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Why doesn't $mech->title() change after $mech->submit_form?
by leira (Monk) on Mar 04, 2004 at 00:10 UTC
    OK, I should have seen this the first time 'round:

    $title = $mech->title(); # get the new title? print "$upLoadUrl is titled [$upLoadTitle]\n"; print "resp = [ " . Dumper( $resp ) . "]\n";

    You probably meant to print out $title and not $upLoadTitle.

    Linda

      :0 DOH! Thanks!

      Plankton: 1% Evil, 99% Hot Gas.