in reply to Adding "sub import{}" to my module makes global symbols require an explicit package name

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.

  • Comment on Re: Adding "sub import{}" to my module makes global symbols require an explicit package name
  • Select or Download Code