I have an example of how to do it at Versioned modules.
There are some documented ways to do it with Exporter. However when I looked at it about a year ago, it turned out that they were somewhat buggy. (Something about unused code not getting maintained, and other code expecting how many layers back to look for caller. I don't remember details though.) The goto trick is not.
In reply to Re (tilly) 1: Overriding Exporter::import
by tilly
in thread Overriding Exporter::import
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |