in reply to Re: use of already eval()ed module (from string)
in thread use of already eval()ed module (from string)

yes, thanks for this simple tip (i.e. modifying the %INC). It solved the problem.

  • Comment on Re^2: use of already eval()ed module (from string)

Replies are listed 'Best First'.
Re^3: use of already eval()ed module (from string)
by haukex (Archbishop) on Jan 08, 2019 at 22:31 UTC

    Note that module_notional_filename from Module::Runtime, when given a module name like "Foo::Bar", will tell you what the %INC key should be ("Foo/Bar.pm").

    I also like LanX's idea of an @INC hook, that's a bit more powerful.