--- Ovid <[EMAIL PROTECTED]> wrote: > I'm trying to think of the best way to deal with this. My first > thought is to create a drop in replacement for Exporter which will > not > export a function if caller->can($function) *unless* the person > explicitly lists it in the import list with a unary plus:
Which fails if the function isn't defined when Test::Most is used. A CHECK block might help, but I suspect that breaks under test aggregation. Related issues are at http://use.perl.org/~Ovid/journal/36738 Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Personal blog - http://publius-ovidius.livejournal.com/ Tech blog - http://use.perl.org/~Ovid/journal/