Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • use export bar => sub {...};

    What I haven't figured out yet is how to get an automatic unimport() call without userland $^H.

    I'm convinced that it shouldn't involve Attribute::Handlers or anything else messing with UNIVERSAL::* (or @UNIVERSAL::ISA, eek!) and/or inheritance (certainly not inheritance of

    It could use attributes, probably by injecting compile-time MODIFY_type_ATTRIBUTES methods into your package, but it looks like something like 'no Exporter::NoReally' would be required to finish things (because the sub name doesn't get passed and I don't want to have an INIT block.)