Skip to content

Commit

Permalink
Document the defaults for 'verbose' and 'strict'
Browse files Browse the repository at this point in the history
  • Loading branch information
gisle committed Mar 30, 2012
1 parent dbd8969 commit 851016d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/HTML/Form.pm
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,14 @@ the default for accept_charset. If not provided this defaults to "UTF-8".
=item C<< verbose => $bool >>
Warn (print messages to STDERR) about any bad HTML form constructs found.
You can trap these with $SIG{__WARN__}.
You can trap these with $SIG{__WARN__}. The default is not to issue warnings.
=item C<< strict => $bool >>
Initialize any form objects with the given strict attribute.
If the strict is turned on the methods that change values of the form will croak if you try
to set illegal values or modify readonly fields.
The default is not to be strict.
=back
Expand Down

0 comments on commit 851016d

Please sign in to comment.