On Mon, 2005-06-20 at 14:06 -0600, Aaron Scott wrote:
> FWIW, I've noticed redefined subroutine "errors" when I require a single
> package using two different statements.  E.g., 
> 
> --- File1.pm
> 
> use MyPackage;
> 
> --File2.pm
> 
> use SomeDir::MyPackage;
> 
> ----
> 
> Loading File2 when File1 has already been loaded seemed to cause a
> redefined subroutine.

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

Reply via email to