in reply to Re: A CGI::Prototype respond() subroutine for Data::FormValidator users
in thread A CGI::Prototype respond() subroutine for Data::FormValidator users

so I cheat and check for the hash values in the hash which underly my object
Perl leads you to bad habits. {grin}

The clean way is to define a backstop method that returns an empty hash. I have lots of those kinds of examples in the source code for CGI::Prototype. No checking required, then.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on Re^2: A CGI::Prototype respond() subroutine for Data::FormValidator users