![]() |
|
laziness, impatience, and hubris | |
PerlMonks |
Re: Seeking help with CGI::Application, please.by cees (Curate) |
on Feb 11, 2006 at 03:47 UTC ( [id://529517]=note: print w/replies, xml ) | Need Help?? |
What you have there should basically work, although there are a few problems with your code. However, I suspect the real problem is somewhere in the rest of the code that you haven't included. Here are a couple of things that you should consider changing:
I doubt that fixing those problems will remove the error though. Also, the error message is kind of an odd one. CGI::Application doesn't use a DESTROY method, so where is that coming from? I am wondering if maybe your are loading a module that imports a lot of functions, and it happens to override some of the functionality in CGI::Application (a common mistake is to add something like 'use CGI qw(:standard)' to your app, which unexpectedly overrides some important methods in CGI::Application). Without more code, it is all just guesswork though...
In Section
Seekers of Perl Wisdom
|
|