Test::MockObject isn't really the right module for this. It relies on method dispatch. Test::MockModule is likely better.
You could mock import() if you like, but it'll be more work that way.
In reply to Re: Test::MockObject and imported functions
by chromatic
in thread Test::MockObject and imported functions
by Mutant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |