Config-Pit
view release on metacpan or search on metacpan
t/01_basic.t view on Meta::CPAN
sub temppath {
return file(File::Temp->new()->filename . $suffix)
}
my $exe = temppath();
my $tst = temppath();
my $fh = $exe->open("w", 0700) or die "open failed.";
print $fh file("t/editor/exe$suffix")->slurp;
undef $fh;
chmod 0700, $exe;
$ENV{EDITOR} = $exe;
$ENV{TEST_FILE} = $tst;
#system $exe, "Changes";
#p $tst->slurp;
my $data = {
foo => "0101",
bar => "0202",
};
( run in 0.292 second using v1.01-cache-2.11-cpan-496ff517765 )