This is a followup question to node ID 629420.
I have switched my method to use 'Mech' but now have a more basic problem. Since Mech does not support javascript I do not get the whole page or the form for submitting the login. I don't need javascript but I do need the source for the javascript (one of them contains a unique hash for encrypting the password). Maybe I am using the wring thing but when I use $mech->content(format=>'text'); I get an abbretiate form with the error that javascript is not enabled.
How do I fool this thing into thinking I have javascript enabled? This was not a problem when i was using LWP and 'GET'.
my $mech=WWW::Mechanize->new();
$mech->get($URL1);
print $mech->content(format=>'text');
Thanks.