|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
Re: Test::Harness: Calling a script with proper @INCby chromatic (Archbishop) |
| on Jul 17, 2011 at 17:08 UTC ( #914975=note: print w/ replies, xml ) | Need Help?? |
|
You could add use blib; to that test file, or you could extract all of the code from the script into its own module and test that just as you would any other module. I tend to do the latter.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||