Re: Deprecated warnings in Apache::DBI

2000-04-10 Thread Ken Williams
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 warnings qw(deprecated);" will be a bandaid for you.

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: