ShipMyPants has asked for the wisdom of the Perl Monks concerning the following question:
I need to understand the behavior of WWW::Mechanize.
If I "get" a URL in Mechanize and then "submit" that form, is the updated page now bound to the same mech variable?
I keep finding examples that use HTML::Response to work with the results of a submit so it's unclear to me if the Mechanize variable I do the initial submit with is updated or somehow stale after I submit it.
The issue I have is that I need to submit a page , get the response back and then submit the second page to confirm the transaction I'm trying to automate.
I'm wondering if I need to take the HTML::Response and somehow find a way to Submit it , or can I just verify the content of the original Mechanize variable after I submit it the first time and simply submit it again.
Thanks for any help - ShipMyPants
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Working with Mechinaze and Responses
by Anonymous Monk on Jul 28, 2013 at 21:21 UTC |