App-GeoCancerPrognosticDatasetsRetriever
view release on metacpan or search on metacpan
bin/geoCancerPrognosticDatasetsRetriever view on Meta::CPAN
395396397398399400401402403404405406407408409410411412413414415
my
$check
=
qx{which curl}
;
#if no curl binary was found, install it on Ubuntu/Ubuntu-based systems
if
(!
$check
) {
#check if current system is Ubuntu/or Ubuntu-based
my
$ubuntu
=
qx{uname -a}
;
if
(
$ubuntu
=~ /.+ubuntu.+/ig) {
color (
"red"
),
"curl binary was not found: follow onscreen instructions/input your password for its installation...\n\n"
, color(
"reset"
);
system
(
"sudo apt -y install curl"
);
#install curl
"done\n"
;
}
else
{
"curl is not found on this system: install it on your system.\n"
;
}
}
}
( run in 0.277 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )