CGI::Application traps all errors using eval, but these errors are forwared to an error handling function. This does not happen in this case.
I have tried to recreate the problem in a small enough example, but all my attempts has failed. Instead of recreating the bug, Perl behaves as expected and protests about a undefined subroutine when reaching the statement WrongModuleName::func()
This leads me to believe that the error with the wrong is package name is not the real error, but a sympton of something else. I have no idea of what can cause such a problem in Perl. In C/C++ my best guess would be some pointer errors, but as far as I understand, Perl should not suffer from such problems.
I will post more information if I find out any more.
In reply to Re^4: silent failure with non-existant module
by Anonymous Monk
in thread silent failure with non-existant module
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |