On 27 Jun 2006 15:01:43 -0000, Rafael Garcia-Suarez
>   my $CLASS;
>   BEGIN {
>       $CLASS = 'Some::Module';
>       use_ok $CLASS or die; # "or die" saves the day

maybe BAIL_OUT could be better than die here, in at least a few cases.

It depends on if you want to stop just this test script or the entire
test suite.  Depends on how critical to the suite $CLASS is.

Reply via email to