leriksen has asked for the wisdom of the Perl Monks concerning the following question:
Use of unintialized value at (eval 16) line 16.
My script doesn't use eval, but does use a lot of standard modules, and some fairly standard CPAN modules (Log::Log4perl, DBI, Pod::*, Date::Calc).
The eval number changes quite often, but not the line number, so I thnk that means the same line of the same eval'ed code is failing.
How do I track down where the eval is happening?
I have 2500 lines of my own .pm's, so there is a lot of stuff happening.
Ideally I'd like to know the module and either the line or subroutine that is complaining.
Is there anyway to do this short of breaking out the perl debugger?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: tracing eval
by bart (Canon) on Jan 13, 2003 at 01:28 UTC | |
by jimc (Sexton) on Jan 13, 2003 at 15:05 UTC | |
Re: tracing eval
by tall_man (Parson) on Jan 13, 2003 at 01:19 UTC | |
Re: tracing eval
by rinceWind (Monsignor) on Jan 13, 2003 at 16:45 UTC | |
Re: tracing eval
by Ryszard (Priest) on Jan 15, 2003 at 07:25 UTC |