- or download this
use strict;
use File::Spec;
...
is( $got_stdout, $expected_stdout),
"foo.pl program output"
);
- or download this
use t::CLI;
my $script = File::Spec->catfile( "scripts", "wikidoc" );
...
$wikidoc->stdout_like( qr/Extracting Pod from \Q$input_file\E/,
"'wikidoc file file' status message"
);
- or download this
package t::CLI;
use strict;
...
1; #true