Not that it's necessarily a good idea, but you could make the top-level package a wrapper with a custom import subroutine. That sub would examine the version argument passed and itself require Module::Version1 or Module::Version2 and then arrange for the appropriate exporting to be done from those modules back into the caller's namespace.
In reply to Re: Multiple versions of a module
by Fletch
in thread Multiple versions of a module
by newest_newbie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |