_attr method for common argument parsing
authorMischa Poslawsky <mischa@mediadesign.nl>
Fri, 25 Jul 2008 21:19:09 +0000 (23:19 +0200)
committerMischa Poslawsky <mischa@mediadesign.nl>
Fri, 25 Jul 2008 21:31:39 +0000 (23:31 +0200)
commitb01a7f21ade2de12b620970a9e7ae78cbabd95da
treec82d8041750e010fd12949c017713ad124b2c0f6
parentbe81b5d559a8ed87ee6493f27b698343fada60c4
_attr method for common argument parsing

Nearly all methods adhere to the same peculiar shorthand of allowing
several optional arguments, but always expecting a trailing hashref to
be attribute options.  For various reasons, this is better abstracted.

The only significant behavioural change is that the first arguments to
input() can now be overridden with option values if undef (which seems
only logical).
lib/HTML/Form/Simple.pm
t/html.t