Skip Menu |

This queue is for tickets about the WWW-Mechanize-FormFiller CPAN distribution.

Report information
The Basics
Id: 2576
Status: resolved
Priority: 0/
Queue: WWW-Mechanize-FormFiller

People
Owner: corion [...] cpan.org
Requestors: mark [...] summersault.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



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
From: "Max Maischein" <corion [...] corion.net>
To: <bug-WWW-Mechanize-FormFiller [...] rt.cpan.org>
Subject: Re: [cpan #2576] WWW::Mechanize::Shell like interface
Date: Wed, 14 May 2003 20:13:18 +0200
RT-Send-Cc:
Hi Mark, I don't understand what you're aiming at - non-interactive (or multiline) stuff is best done by directly programming WWW::Mechanize directly, as Perl gives you the expressiveness you want. WWW::Mechanize::Shell has an interactive form fill out variant and the declarative variant in the "autofill" command - so I'm not sure what the goal is ... I think if you gave some examples of what you'd like to type into the shell and what the resulting Perl code should be, then I would understand better... -max Show quoted text
----- Original Message ----- From: " via RT" <bug-WWW-Mechanize-FormFiller@rt.cpan.org> To: <AdminCc of cpan Ticket #2576 :> Sent: Wednesday, May 14, 2003 4:20 PM Subject: [cpan #2576] WWW::Mechanize::Shell like interface
> > This message about WWW-Mechanize-FormFiller was sent to you by MARKSTOS
<MARKSTOS@cpan.org> via rt.cpan.org
> > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=2576 > > > 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 > >