http://qs321.pair.com?node_id=914975


in reply to Test::Harness: Calling a script with proper @INC

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.