On Fri, 2004-09-10 at 14:21, Eric wrote:
> Hi,
> 
> I have been using CGI::APP (1.38) with HTML::Template(2.6) for some time 
> under mod_perl. But there is a nagging error that I can't figure out. In 
> one application which supports a secure order form, I get
> 
> run mode 'Process': HTML::Template->new() called with odd number of option 
> parameters - should be of the form option => value at 
> /usr/local/lib/perl5/site_perl/5.8.2/CGI/Application.pm line 401

Eric, this error is telling you that HTML::Template->new() requires a
hash as the parameter and it is instead seeing either a scalar value
(the most likely case) or an unbalanced hash (having a key but no
value). So someplace you have code that is failing to provide a
valid set of key/value pairs necessary to make a correct hash (aka
associative array.)

Hope this helps.

-- 

Dan Coutu
Managing Director
Snowy Owl Internet Consulting, LLC
http://www.snowy-owl.com/





---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[EMAIL PROTECTED]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to