perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Scott" <asc...@cymphonix.com>
Subject RE: Getting lots of redefined statements in the error_log
Date Mon, 20 Jun 2005 22:04:16 GMT
> Huh?  Are you saying that MyPackage and SomeDir::MyPackage are somehow
> the same file?  Or that they actually declare the same package name?
Or
> don't declare any package name at all?
> 
> - Perrin

For a file /path/to/SomeDir/MyPackage.pm, if I 'use MyPackage;' in one
file, then subsequently 'use SomeDir::MyPackage' in another file, the
second 'use' generates redefined subroutine errors.

-Aaron




Mime
View raw message