in reply to Re: Module Design strawman - Exporter::VA
in thread Module Design strawman - Exporter::VA

I didn't do hard refs because of this conflict. I suppose you could say foo => sub { \&foo_hard } with the existing design. Any other design (additional decorations of some kind?) would need to be at least this simple.

You mean right in the use line, like
use Exporter::VA (foo => 'foo_internal');
Wonderful. An inherited AUTOLOAD would do the trick.

I suppose that would be OK. Also, a special hash entry could list all the non-alias simple exports, instead of using a function call.

Sure. Is there any prior art on pragmatic imports other than version numbers?

If not given, default to the same version number as the Exporter::VA's version? I don't get it.

Everything in the hash: Sure could. But I think it should be clearer than that.

Thanks for your thoughts. That was all very useful feedback. Stay tuned for the next iteration.

—John