This makes all minitests pass on my machine.
p4raw-id: //depot/perl@33768
require './test.pl';
eval { require AnyDBM_File }; # not all places have dbm* functions
- skip_all("No dbm functions: $@") if $@;
+ skip_all("No dbm functions") if $@;
}
plan tests => 4;
sub skip {
my $why = shift;
+ $why =~ s/\n.*//s;
my $n = @_ ? shift : 1;
for (1..$n) {
print "ok $test # skip: $why\n";