I'm trying to use Mechanize to fill out a form using Mechanize, however, there are a few fields in the form that I want to pick depending on user input.
So my question is, how can I "save" the Mechanize agent while I ask the user for what a field value should be?
So,
Log in and navigate to form->grab all the
<select> fields->Ask user what value to submit->Go back to form and Submit it.
Update! Figured it out, I think
YAML::DumpFile('saved.dat', $agent);
$test = YAML::LoadFile('saved.dat');