Syntactic Confectionery Delight | |
PerlMonks |
Re^2: Catching errors.by Steve_BZ (Chaplain) |
on Apr 02, 2013 at 14:12 UTC ( [id://1026697]=note: print w/replies, xml ) | Need Help?? |
I am trying to catch the errors within the perl application using a number of standard routines like this one:
Update If your application is throwing 'missing perl function errors' then that suggests that you are not testing your code sufficiently. This is mostly caused by uninitialised objects, like this: Because $self->{calendar_9} is not created (undefined), GetValue does not exist. Are you really compiling code on user machines? By 'compile time', I mean starting the perl interpreter, and the interpreter checks (compiles) all the dependencies and says that such-and-such a module has a syntax error and the code does not even execute.
In Section
Seekers of Perl Wisdom
|
|