Subject: | warnings not in lexical scope? |
Nice. But it seems that the warnings scope is not lexical. The sample script
#!/usr/bin/perl
use strict;
use warnings::unused;
use warnings 'once';
use IO::Compress::Gzip;
__END__
shows warnings outside this script:
Unused variable my $tmp at
/usr/local/share/perl/5.8.8/File/GlobMapper.pm line 248.
Unused variable my $inGlob at
/usr/local/share/perl/5.8.8/File/GlobMapper.pm line 199.
Unused variable my $oneInput at
/usr/local/share/perl/5.8.8/IO/Compress/Base/Common.pm line 215.
etc.
Regards,
Slaven