Add strict mode to HTML::Form
commit2125c0cf54a204408b6790a9a799ad392031a580
authorGisle Aas <gisle@aas.no>
Mon, 6 Oct 2008 12:36:15 +0000 (6 14:36 +0200)
committerGisle Aas <gisle@aas.no>
Mon, 6 Oct 2008 14:31:21 +0000 (6 16:31 +0200)
tree0ab19cdb520d5a7a85d1afaf2d9c520d63dc2b27
parent01f0ce40d8b4ea6c887bedc2cd4afc56e038491e
Add strict mode to HTML::Form

This makes HTML::Form non-strict by default and if you want it to
be strict you need to request that explictly.  When you turn on
strict it's even stricter than it used to be as it will now croak
if you try to assign to readonly fields or if you assign values
that are longer than 'maxlength'.
lib/HTML/Form.pm
t/html/form.t