Skip Menu |

This queue is for tickets about the HTML-FillInForm CPAN distribution.

Report information
The Basics
Id: 13913
Status: resolved
Priority: 0/
Queue: HTML-FillInForm

Owner: MARKSTOS [...]
Requestors: mark [...]

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

Subject: wish: smarter, simpler fill() syntax
Download (untitled) / with headers
text/plain 888b
The syntax for fill() is more complex than necessary for the common case. This is all that should be necessary: HTML::FillInForm->fill($html,$data); Calling fill() as a class method should be the same as calling new() with no args and then calling fill(). The software can easil figure out what to do with $html: - Check to see whether it is a scalarref or arrayref, otherwise assume it's a filename. Likewise with $data: - check to see if it's hashref or an object that supports param(). Finally, as a sensible default, allow this: # default to getting data from param(). HTML::FillInForm->fill($html); Many trips to the man page will be saved, wording if 'fdat' was really 'fdata' or 'data' or 'dat'. Thank for the great module! (And the help you gave me with DFV in the beginning!) See Also:
This was resolved in the 2.00 release.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to