... my $mech = WWW::Mechanize->new(); my $resp = $mech->get( $upLoadUrl ); if ( !$mech->success ) { print "Error could not access $upLoadUrl\n"; exit 1; } my $title = $mech->title(); #print Dumper( $resp ); if ( $title ne $upLoadTitle ) { print "$upLoadUrl is not titled [$upLoadTitle]\n"; exit 1; } $resp = $mech->submit_form ( fields => { j_username => $user, j_password => $password, } ); $title = $mech->title(); # get the new title? print "$upLoadUrl is titled [$upLoadTitle]\n"; print "resp = [ " . Dumper( $resp ) . "]\n"; ...