I wonder what you'd see through both invocation schemes with warn "<$INC{Test/Warn.pm}>\n"; before the pass() call. I suspect the library paths may be different than what you think, if you didn't use -Mblib or some other construct on the perl call.
If that doesn't help, look at what Test::Harness builds up for its arguments to Perl.
In reply to Re: Skipping tests if a module is not available
by chromatic
in thread Skipping tests if a module is not available
by Jeffrey Kegler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |