Is this really a question about how to conditionally load a module?
Yes. And in your case, I'd use eval.
sub run_tests { eval q( use Test::More qw/no_plan/ ); # ... }
-sauoq "My two cents aren't worth a dime.";
In reply to Re: No tests run!
by sauoq
in thread No tests run!
by hey_david
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |