Functions

res_check

Compares Dumper output to %expect.

res_check(\%expect, @run);

catch

Catches STDOUT from running @command, and issues ok() for no-stderr and exit-code tests.

my $stdout = catch(@command);