From: Dave R. <au...@ur...> - 2003-09-09 16:58:52
|
On Tue, 9 Sep 2003, Darren Duncan wrote: > When I'm running a test program on a module 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.". The module and script both 'use > strict' and 'use warnings'. > > However, that line makes no references to a hash. The real warning is come from a line inside the "if ..." block. Perl's parser seems to get confused about line numbers whenever there's a conditional block. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/ |