http://www.perlmonks.org?node_id=1021148


in reply to Test::More - Skip following tests if one test fails

G'day Doozer,

I'm not sure if this is applicable to your current situation, but if you can test for the skip condition up-front, you can do something like:

if ($skip_condition) { plan skip_all => $skip_reason; } else { plan tests => $number_of_tests; } # Planned tests here

-- Ken