in reply to Re: Exporter, import, and tags w/ double meanings.
in thread Exporter, import, and tags w/ double meanings.

That doesn't really solve his problem, err_raise and err_ignore aren't symbols he wants to export, or even sets of symbols he wants to export ... they are just flags, and if his client speciies those flags when importing his Module, he was arbitrary methods called.

To answer that question, yes .. i believe writting your own import method which checks @_ for these special flags, takes the appropriate action, removes them from @_ and then delegates to export_to_level is the way to go.

(Just don't forget that export_to_level expects you to leave "$self" in "@cleanargs" .. check the docs

  • Comment on Re: Re: Exporter, import, and tags w/ double meanings.