develooper Front page | perl.perl5.porters | Postings from March 2007

Exporter Warning Mystery

Thread Next
Nicholas Clark
March 9, 2007 09:55
Exporter Warning Mystery
Message ID:
This makes no sense to me:

$ cat 
#!perl -w
use Exporter;
    package Testing::Unused::Vars;
    @ISA = qw(Exporter);
    @EXPORT = qw(this $TODO that);

    package Foo;
$ ./perl -Ilib 
Name "Testing::Unused::Vars::TODO" used only once: possible typo at lib/Exporter/ line 205.
$ ./perl 

Why does it warn if it's reading its libraries from the build tree, but not
when they're installed?

Same for blead, maint and release 5.8.8

Nicholas Clark

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About