Alien-Thrust
view release on metacpan or search on metacpan
ThrustModuleBuild.pm view on Meta::CPAN
require LWP::UserAgent;
my $ua = new LWP::UserAgent;
my $res = $ua->get($thrust_zipfile_url, ':content_file' => "$thrust_archive.partial");
if (!$res->is_success) {
die "Failed to download $thrust_zipfile_url : " . $res->status_line;
}
}
rename("$thrust_archive.partial", $thrust_archive) || die "unable to rename $thrust_archive.partial to $thrust_archive ($!)";
}
}
sub extract_zip_file {
my $self = shift;
system("mkdir -p blib/lib/auto/share/dist/Alien-Thrust/"); ## FIXME: portability
( run in 0.637 second using v1.01-cache-2.11-cpan-131fc08a04b )