in reply to Re: (tye)Re: A question of inheritance
in thread A question of inheritance

I agree that a :method attribute would be a good thing and that inheriting utility functions is a problem.

I disagree that switching the standard use of Exporter.pm from inheritance to importing wouldn't be a good thing (I'm not suggesting forcing all old modules to be switched to this new usage). Using inheritance to get the single import() method is a bit of a stretch and I still think it would be a problem even with a :method attribute.

I wonder how hard it would be to get:

use Exporter qw(import);
to work? (Part of me say "easy, it probably already works" and part of me worries that that tunnel might be quite long and dark.)

        - tye (but my friends call me "Tye")