Pug has asked for the wisdom of the Perl Monks concerning the following question:
The problem is that HTML::Form croaks when given invalid value for that input type. For example the list of possible inputs is
MPI
ACS
DS
AHS
I want to be able to say for this input give it the value of "NONE" but HTML::Form croaks when I do that.8(
How do I get around this and make HTML::Form take invalid values in a reletivaly nice way?
I have used SuperSearch looking for HTML::Form and Croak with no luck. The perldoc Carp does not really point to anything and the perldocs for HTML::Form says that it will croak if given invalid input. I have thought about redefing the function to get what I want but I am not too sure if doing this will break when/if the next version of HTML::Form comes out.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: a HTML::Form question.
by Sinister (Friar) on Feb 28, 2002 at 19:22 UTC | |
by Pug (Monk) on Feb 28, 2002 at 20:10 UTC | |
|
Re: a HTML::Form question.
by Pug (Monk) on Feb 28, 2002 at 19:13 UTC |