require Cwd;
require Config;
sub convert_n_test {
"--podpath=t",
"--podroot=$base_dir",
"--htmlroot=/",
"--infile=$infile",
"--outfile=$outfile"
);
{
local $/;
# expected
if (ord("A") == 193) { # EBCDIC.
}
# result
close $in;
}
if (-x $diff) {
my $expectfile = "pod2html-lib.tmp";
close $tmpfile;
open my $diff, "diff -$diffopt $expectfile $outfile |" or die $!;
print "# $_" while <$diff>;
close $diff;
unlink $expectfile;
}
};
# pod2html creates these
1 while unlink $outfile;
1 while unlink "pod2htmd.tmp";
1 while unlink "pod2htmi.tmp";
}
1;