package V;
getopts('vp:d:');
require Exporter;
@ISA = 'Exporter';
$num = 0;
print "\nperl: $perl\n" if $opt_v;
if( ! -f $perl ){ die "Where's Perl?" }
if( ! -f $dpp ) {
die "Where's dprofpp?" if( ! -f $dpp );
}
sub dprofpp {
my $switches = shift;
@results = <D>;
close D;
open( D, "<err" ) || warn "$0: Can't open: $!\n";
@err = <D>;
close D;
$results;
}
sub report {
$num = shift;
my $sub = shift;
my $x;
$x = &$sub;
}
sub ok {
print "ok $num\n";
}
sub notok {
print "not ok $num\n";
print "\nResult\n{$results}\n";
print "Expected\n{$expected}\n";
}
1;