Charles K. Clarkson wrote:
Many people seem to have a penchant for placing the CGI object
parameters inside a hash. Personally, I find this a poor practice.
Isn't it rather a very natural Perl practice to store a bunch of
name/value pairs in a hash?
Personally I find CGI.pm's default way to access the parameters to be
clumsy. Just take the
@{ [ $q->param('somename') ] }
construct that is needed for here documents and other double-quotish
contexts.
And the object can be changed as easily as a hash.
Disagree on that, too.
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>