in reply to Re^2: to much hybries
in thread to much hubris

So, it seems to me you have two different uses; one is a normal function import, only with no @EXPORT_OK, etc. restrictions on what symbols are allowed, to save having to have an explicit list. This sounds like a not-so-hot idea, for a number of reasons.

The other is a nicer interface for what Exporter's export_to_level does; I'm not sure this is worth writing a separate module for.

Replies are listed 'Best First'.
Re^4: to much hybries
by pmSwim (Acolyte) on Feb 09, 2007 at 19:30 UTC
    The first point I can not share, because this module does no black magic. Perl allows such things so a restriction like @EXPORT_OK is more or less only a hint for the programmer and is a easy way to export things. But I'm looking for a solution which makes import easy.

    If the use of this package becomes modern, the use of modules like Attribute::Protected will increase or something similar, I don't know.