in reply to Re^2: BEGIN and END blocks, use strict and scoping
in thread BEGIN and END blocks, use strict and scoping
You just have to let Test::More know what's going on with regards to your test plan. It's called a plan for a reason.unless ( $trick ) { SKIP: { skip 3, "About to croak!\n"; } croak; } else { # Do your three other tests here. }
|
|---|