Re: It works in Firefox, why not in $mech?

2006-07-10 Thread Philippe BooK Bruhat
Le vendredi 07 juillet 2006 à 22:31, Peter Stevens écrivait: I have found the attached module to be useful when debugging. Compare this output from what TamperData or LiveHTTPHeaders shows you when submitting the same request, and chances are, you've found your problem :-) The

It works in Firefox, why not in $mech? (aka WWW::Mechanize::Debug) [resend]

2006-07-09 Thread Peter Stevens
Hi everyone, [Someone just asked me about this, and it looks like the attachment got eaten, in any case I couldn't find it in an online archive of libwww, so here it is again in-line. I have found the attached module to be useful when debugging. This tells you (I think) what $mech is sending to

It works in Firefox, why not in $mech?

2006-07-07 Thread Peter Stevens
Hi everyone, I have found the attached module to be useful when debugging. In your code, you'll need use WWW::Mechanize::Debug; my $mech = WWW::Mechanize::Debug-new(...) # when you're ready to $mech-click(); print Request is . $mech-simulated_click(); Compare this output from what