Jesse et al,

Being the good little CPAN'er that I am,  I upgraded my version of CGI::Application 
via CPAN.pm this a.m., which promptly broke my application, giving me an error:

<CODE>Odd number of elements passed to param().  Not a valid hash at 
/www/legalnet/perl/doc.cgi line 9
</CODE>

After de-upgrading and rolling back to 2.0, everything went back to normal.

I read that the method for setting param()s changed to allow you to set multiple ones 
with hash/hash refs.

The way I was setting them before was like this:
$self->param('main_template_path'=>'/www/legalnet/templates/');

Which, looking at the docs should've still worked. I'm assuming that this is the 
problem.

Do you have any idea why this would happen? Do you need more code, is this a feature, 
or am I insane?

Thanks. I have the newest versions of CGI.pm and HTML::Template, also.

-DJCP

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to