in reply to Verifiying an external program exists
sorta ugly but it's ugly week ... you could try running the program with a choice of options that should produce known results. have you checked CPAN?
... my $last_line = `tail $0 --lines=1`; $last_line =~ /^the last line/ or die "non-functional tail"; ... __END__ the last line
or maybe '--version'.
|
|---|