If you're going to import, you have to do it from a different package than the one you're importing to. That's how you avoid that warning you complained of. The *main::foo vs *foo thing is a red herring. It's just a syntax difference if the current package is main. Even if you weren't in main, *main::foo and *::foo would also just be syntax and not meaningfully different.
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
In reply to Re: How to trick strict like Exporter does
by diotalevi
in thread How to trick strict like Exporter does
by betterworld
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |