Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 cooling their heels in the Monastery: (7)
As of 2014-09-21 16:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (172 votes), past polls