[VPM] strange warning I'm getting

Peter Scott Peter at PSDT.com
Sun Sep 14 22:11:40 CDT 2003


At 11:25 PM 9/8/2003 -0700, Darren Duncan wrote:
>When I'm running a test program which contains the following method, I 
>keep getting a warning on the line containing "if( !$def_parent ) {" which 
>says "Use of uninitialized value in hash element at SQL/ObjectModel.pm 
>line 1573.".
>
>However, that line makes no references to a hash.

Perl's line numbers in error messages are notoriously unreliable.  Search 
for a bug I posted to p5p in the last year about how to get Perl to report 
line numbers beyond the end of the program.

--
Peter Scott
peter at psdt.com
http://www.perldebugged.com




More information about the Victoria-pm mailing list