in reply to Re: Testing subroutines from a script
in thread Testing subroutines from a script

Thank you. This works great. I added
BEGIN { $ENV{HARNESS_ACTIVE} = 1 }
to the test script so that it will work regardless of whether it is invoked under Test::Harness.