PDL
view release on metacpan or search on metacpan
t/01-pptest.t view on Meta::CPAN
diag $buffer;
return;
}
ok 1, $cmd;
}
sub hash2files {
my ($prefix, $hashref) = @_;
while(my ($file, $text) = each %$hashref) {
# Convert to a relative, native file path.
$file = File::Spec->catfile(File::Spec->curdir, $prefix, split m{\/}, $file);
my $dir = dirname($file);
mkpath $dir;
my $utf8 = ($] < 5.008 or !$Config{useperlio}) ? "" : ":utf8";
open(my $fh, ">$utf8", $file) || die "Can't create $file: $!";
print $fh $text;
close $fh;
}
}
sub in_dir {
( run in 1.160 second using v1.01-cache-2.11-cpan-71847e10f99 )