So in test.t I put this line:
require './lib.pm';Well, the testers weren't too happy. They gave this error:
Can't locate ./lib.pm in @INCSo, apparently I can't require a file in a test script the way I can in the real world. Is there a way to include lib.pm (which is in the same directory as test.t for use in my tests?
In reply to Local library for module test script by mikosullivan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |