Using perl 5.9.5 on Windows the following:

perl -d -e "use DBI; use strict;use warnings;my $h = DBI->connect;{local $h->{LongReadLen} = 10;print "hello\n";}"

outputs "use of uninitialized variable in subroutine entry" when stepping on the statement setting LongReadLen. This does not happen in 5.8.8 on Linux.

If you remove the "local" all is ok.

Any ideas why?

martin
--
Martin J. Evans
Easysoft Limited
http://www.easysoft.com

Reply via email to