Re: Deprecated warnings in Apache::DBI

2000-04-10 Thread Ken Williams
be a bandaid for you. [EMAIL PROTECTED] (Paul G. Weiss) wrote: In my startup.pl I have BEGIN { no warnings qw(deprecated); use Apache::DBI; } yet when starting the server I always see defined(@array) is deprecated at /usrl1/home/pweiss/perl-56/lib/site_perl/5.6.0/Apache/DBI.pm line 135.

RE: Deprecated warnings in Apache::DBI

2000-04-10 Thread Paul G. Weiss
: Deprecated warnings in Apache::DBI I don't have 5.6 to test this, but isn't the warnings pragma lexical and not dynamic now? Which means it's doing the right thing. Also, it's probably right - shouldn't Apache::DBI be changed? Perhaps doing "local $^W;" instead of "no warning

RE: Deprecated warnings in Apache::DBI

2000-04-10 Thread Ken Williams
[EMAIL PROTECTED] (Paul G. Weiss) wrote: Well if it is lexical shouldn't it suppress the warnings anyhow? Remember that the 'use' is lexically inside the BEGIN block where I have the pragma. Yeah, but the line producing the warning isn't, and that's what counts for lexicals. Any in any case: