Is it possible to have T::M skip the rest of the script from here on on a
certain condition?
--8<---
use Test::More tests => 765; # a lot
ok (.....);
# many ok (), like (), and such
SKIP: {
$state or skip "What rest?", 0; # <-- I don't know $how_many
:
:
:
:
}
-->8---
or can I change the plan halfway
$state or plan skip_all => "No use in testing the rest";
:
:
:
--
H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.8.3, & 5.9.x, and 809 on HP-UX 10.20 & 11.00, 11i,
AIX 4.3, SuSE 9.0, and Win2k. http://www.cmve.net/~merijn/
http://archives.develooper.com/[EMAIL PROTECTED]/ [EMAIL PROTECTED]
send smoke reports to: [EMAIL PROTECTED], QA: http://qa.perl.org