Subject: | WWW::Mechanize::Shell like interface |
While I really like the spirit of this module, I find the interface a little cumbersome. I would like a function to fill out forms that approaches more of the ease-of-use of ::Shell.
I'm thinking of a function that allows me to define and submit my form all at once, something like this:
$filler->fillout_form(
# For the the simple case, assumed 'Fixed' class,
name => 'Mark',
# With an array reference, create and fill with the right kind of object.
random_field => [ 'widget_id', 'Random', (1..5) ],
);
#####
Of course, this won't work well with "interactive", but I imagine that application will be mostly used in "shell" like applications, and not so much in scripts.
Thanks!
Mark