in reply to Re: How to locate an error in a CGI application
in thread How to locate an error in a CGI application
It's the 9th execution of an eval (not an eval on line 9). For example, the script below would give
Use of uninitialized value in array element at (eval 9) line 4.
#!/usr/bin/perl use warnings; my $code_err = q| my @arr; my $i; $arr[$i] = 0; # line 4 within this code snippet |; my $code_ok = q|my $var = ""|; eval $code_ok for (1..8); eval $code_err; # 9th eval, but line 14 in this script
Unfortunately, I don't think there's an easy, straightforward way to locate the warning based on the info you've got...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to locate an error in a CGI application
by moritz (Cardinal) on Aug 16, 2007 at 12:26 UTC | |
|
Re^3: How to locate an error in a CGI application
by rbi (Monk) on Aug 16, 2007 at 12:29 UTC | |
by clueless newbie (Curate) on Aug 16, 2007 at 13:12 UTC | |
by rbi (Monk) on Aug 16, 2007 at 13:24 UTC |