in reply to Re: is there anything more VEXING than checking the $cgi->checkbox ?
in thread is there anything more VEXING than checking the $cgi->checkbox ?

This is explained in the documentation: Per default, CGI::HTML::Functions is state-preserving, that is, input from a previous requests overrides the defaults in the code. The simple example given by pryrt works because there is no previous request.

You can use the -nosticky pragma to prevent that generally, or use override on a per-element basis, if you want a different behavior.

  • Comment on Re^2: is there anything more VEXING than checking the $cgi->checkbox ?