/usr/share/doc/perl-Test-Harness/examples
NameSizeModeActions
bin/-0755rm
harness-hook/-0755rm
t/-0755rm
analyze_tests.pl20720644editdlrm
my_exec3870755editdlrm
README21550644editdlrm
silent-harness.pl3490644editdlrm
test_urls.txt450644editdlrm
Edit: /usr/share/doc/perl-Test-Harness/examples/my_exec (387B)
#!/usr/bin/perl use strict; use warnings; my $url = qr/^http/; my $prog = shift; if ( $prog !~ $url && !-e $prog ) { die "Cannot find ($prog)"; } my @exec; if ( 't/ruby.t' eq $prog ) { push @exec => '/usr/bin/ruby', $prog; } elsif ( $prog =~ $url ) { push @exec => 'bin/test_html.pl', $prog; } else { push @exec, $prog; } exec @exec or die "Cannot (exec @exec): $!";