Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by Anonymous Monk
on Apr 13, 2009 at 10:05 UTC ( #757189=note: print w/ replies, xml ) Need Help??


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

Look for line 7974 of string eval (eval "").

$ cat eval.line.pl #!/usr/bin/perl use strict; use warnings; for( 1 .. 2){ eval q{ my $foo = (undef)->[1]; die "Oh noes!!"; }; warn $@; warn "EEEK"; } warn "Arggg!!!"; $ perl eval.line.pl Can't use an undefined value as an ARRAY reference at (eval 1) line 2. EEEK at eval.line.pl line 14. Can't use an undefined value as an ARRAY reference at (eval 2) line 2. EEEK at eval.line.pl line 14. Arggg!!! at eval.line.pl line 16. $
Consider using Carp


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2015-05-05 00:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (109 votes), past polls