http://www.perlmonks.org?node_id=407767


in reply to Re: How to alias a whole namespace to another namespace (in this case main::)
in thread How to alias a whole namespace to another namespace (in this case main::)

You are completely correct, but there is a LOT of legacy files, some of which have multi-level require's, and I'm not going to update them all at one time. It would take too much time and be too dangerous.

This way all the developers here can gradually "modernise" code as they go without breaking older code.

  • Comment on Re^2: How to alias a whole namespace to another namespace (in this case main::)

Replies are listed 'Best First'.
Re^3: How to alias a whole namespace to another namespace (in this case main::)
by data64 (Chaplain) on Nov 15, 2004 at 06:52 UTC

    Could the original required file be changed to just have the "use module" statement. So all the files that require the old file now are "use"ing the module along with the exports.