This seems to work require_ok("foo\0");
As does use lib 'source'; require_ok('bin/foo');
Both \0 and / signal to require_ok that you're looking to require a file ( as in require_ok_file or require_ok_expr, not require_bareword )
In reply to Re: How do I test a script that doesn't have a .pl extension
by Anonymous Monk
in thread How do I test a script that doesn't have a .pl extension
by ten8ciousb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |