App-shcompgen
view release on metacpan or search on metacpan
lib/App/shcompgen.pm view on Meta::CPAN
if ($@) {
$envres->add_result(500, "Can't write to '$comppath': $@",
{item_id=>$prog0});
next PROG;
}
for my $hs (@helper_scripts) {
log_info("Writing helper script %s ...", $hs->{path});
$written_files{$hs->{path}}++;
eval {
write_text($hs->{path}, $hs->{content});
chmod 0755, $hs->{path};
};
if ($@) {
$envres->add_result(500, "Can't write helper script to '$hs->{path}': $@",
{item_id=>$prog0});
next PROG;
}
}
$envres->add_result(200, "OK", {item_id=>$prog0});
} # generate
( run in 0.360 second using v1.01-cache-2.11-cpan-496ff517765 )