Bio-EBI-RNAseqAPI
view release on metacpan or search on metacpan
inc/Module/AutoInstall.pm view on Meta::CPAN
256257258259260261262263264265266267268269270271272273274275276
my
$make
=
$Config::Config
{make};
if
(
$InstallDepsTarget
) {
"*** To install dependencies type '$make installdeps' or '$make installdeps_notest'.\n"
;
}
else
{
"*** Dependencies will be installed the next time you type '$make'.\n"
;
}
# make an educated guess of whether we'll need root permission.
" (You may need to do that as the 'root' user.)\n"
if
eval
'$>'
;
}
"*** $class configuration finished.\n"
;
chdir
$cwd
;
# import to main::
no
strict
'refs'
;
*{
'main::WriteMakefile'
} = \
&Write
if
caller
(0) eq
'main'
;
inc/Module/AutoInstall.pm view on Meta::CPAN
603604605606607608609610611612613614615616617618619620621622sub
_has_cpanplus {
return
(
$HasCPANPLUS
= (
$INC
{
'CPANPLUS/Config.pm'
}
or _load(
'CPANPLUS::Shell::Default'
)
)
);
}
# make guesses on whether we're under the CPAN installation directory
sub
_under_cpan {
my
$cwd
= File::Spec->canonpath( Cwd::getcwd() );
my
$cpan
= File::Spec->canonpath(
$CPAN::Config
->{cpan_home} );
return
(
index
(
$cwd
,
$cpan
) > -1 );
}
( run in 0.295 second using v1.01-cache-2.11-cpan-95122f20152 )