The::Net does something similar and chose to work similarly. Personally I would suggest a slightly different API. Rather than having to both set up the use and use the local module, I'd suggest having the import also do an immediate
require and then do the import as well. (Thereby letting you remove the
use command following.)