# New Ticket Created by Chris Dolan # Please include the string: [perl #63086] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=63086 >
Consider the following two files: --- Foo/Bar/Baz.pm --- class Foo::Bar::Baz { } --- Foo/Bar.pm --- use Foo::Bar::Baz; class Foo::Bar { } When you load Foo::Bar, you get: Re-declaration of type Foo::Bar at line 4, near "" I think this is because 'use'ing Foo::Bar::Baz vivifies the Foo::Bar package. This error does NOT happen if the two classes are declared in the same file, presumably a compiletime-vs-runtime difference. This problem began sometime in the last month.