# from David Cantrell
# on Tuesday 24 June 2008 06:40:

>use Import; # does Magick to make Exporter not work in anything called
>            # from here
>
>use Module::That::Exports::Stuff; # except that now it doesn't,
> bwahahahaha!
>
>Import::import(
>    from => 'Module::That::Exports::Stuff',
>    subs => [qw(set get bet wet)]
>);

That seems like a lot of typing.  You can already get "import nothing" 
with () and "import only ..." with qw(...).

IMO, the main thing wrong with Exporter is that there is no unimport.

(Yes, the UNIVERSAL thing and this inheritance business is also wrong, 
but that's only from the POV of using Exporter directly.)

--Eric
-- 
"It works better if you plug it in!"
--Sattinger's Law
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------

Reply via email to