in reply to Re: Re: Optional modules for tests?
in thread Optional modules for tests?

skip "Data::Dummy not installed", 2 if $@; # ^ ^ # MESSAGE, NUM_TESTS_TO_SKIP

You are only skipping 1 test but you are telling Test::More you are skipping 2 but your plan was only to do 1 test.....

skip "Data::Dummy not installed", 1 if $@; ^ ^

Will work just fine.....I even tested it ;-) Test::Harness hates plan != number of tests reported. See my Autogenerate Test Scripts for a neat little widget that will re-number your tests and fix your plan as well as writing most of the Test code for you.

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print