Your sub import should call Exporter's sub import, because Exporter works its magic through its own sub import. If you don't do that, exporting symbols does not work. Either export the symbols yourself, or call Exporter.
In reply to Re: Adding "sub import{}" to my module makes global symbols require an explicit package name
by Corion
in thread Adding "sub import{}" to my module makes global symbols require an explicit package name
by BadHarry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |