in reply to import doesn't work at runtime?

It works for me when adding parens to the subroutines:
require MyModule; MyModule->import( qw(frobnicate munge) ); frobnicate(); munge();

Replies are listed 'Best First'.
Re^2: import doesn't work at runtime?
by gdave (Novice) on Nov 11, 2011 at 22:08 UTC
    aha! &frobnicate and &munge also do the trick. I think I get it now, thanks.

      Yes, part of the consequence of having & is to identify a word as being a function name. However, there are other consequences. If you don't know what those consequences are, avoid using &.

      As Occam said: Entia non sunt multiplicanda praeter necessitatem.