in reply to Re^3: How many times is Foo::Bar loaded?
in thread How many times is Foo::Bar loaded?
If ->import() was only called the first time, then only the first namespace to use the module would import its symbols and any other namespaces which expected them to be available would fail. And fail in very-difficult-to-debug ways, since the failure would be dependent on which files are loaded and in what order.
|
|---|