CPAN-Static
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
$dist->regen;
my $interpreter = ($Config{startperl} eq $^X )
? qr/#!\Q$^X\E/
: qr/(?:#!\Q$^X\E|\Q$Config{startperl}\E)/;
my ($guts, $ec);
sub _mod2pm { (my $mod = shift) =~ s{::}{/}g; return "$mod.pm" }
sub _path2mod { (my $pm = shift) =~ s{/}{::}g; return substr $pm, 5, -3 }
sub _mod2dist { (my $mod = shift) =~ s{::}{-}g; return $mod; }
sub _slurp { do { local (@ARGV,$/)=$_[0]; <> } }
sub capture(&) {
my $callback = shift;
my $output;
open my $fh, '>', \$output;
my $old = select $fh;
eval { $callback->() };
select $old;
die $@ if $@;
return $output;
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.474 second using v1.00-cache-2.02-grep-82fe00e-cpan-da92000dfeb )