in reply to Re: How do I test a script that doesn't have a .pl extension
in thread How do I test a script that doesn't have a .pl extension
well this is embarassing. first time seeking wisdom and, er...
how does that go?
TMTOWTDI
yes.
did work for me. thank you.require_ok('foo') ### fails foo not found in @INC ok(require 'foo') ### passes
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How do I test a script that doesn't have a .pl extension
by Corion (Patriarch) on Nov 02, 2012 at 13:19 UTC | |
by ten8ciousb (Novice) on Nov 02, 2012 at 13:32 UTC |