in reply to Re: Re: "use" modifiers
in thread "use" modifiers

Considering the only time (shy of doing a source filter) you get to the arguments of "use" is when "import" is called, there is no other way than "intercepting the import process". I don't see what's so non-clean about it - the import process is 100% Perl, and just involves a method call - a call that's as regular as any other method call.

Of course, you could always to your own exporting - which might be as simple as the call to export_to_level. Everyone uses Exporter, but in 99% of the cases it could as easily be done without using Exporter.

Abigail