Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Error ... at (eval 75) line 7974.

by deepsoul (Initiate)
on Oct 10, 2011 at 18:52 UTC ( #930692=note: print w/ replies, xml ) Need Help??


in reply to Error ... at (eval 75) line 7974.

I hit on this old thread when I had the same problem, and later found out something not previously mentioned. Setting

$^P= 0x100;
gives you the source line of the eval itself in addition to the line within the eval:
Use of uninitialized value in print at (eval 1)[./testeval.pl:12] li +ne 1.
I found this quite useful for tracking down the offending eval'ed code. See the documentation of $^P / $PERLDB in perlvar for details.


Comment on Re: Error ... at (eval 75) line 7974.
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://930692]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2014-10-26 03:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (150 votes), past polls