8 export PERL_CPANM_OPT="--mirror http://www.cpan.org/"
10 function cpanm_install {
12 printf "Installing (without testing) $dep ..."
20 trap "clean_up $PROG; exit 1" SIGHUP SIGINT SIGTERM
21 local OUT=$(cpanm --verbose --no-interactive --no-man-pages --notest $dep 2>&1 )
24 wait $PROG 2>/dev/null
25 trap - SIGHUP SIGINT SIGTERM
26 if [ $STATUS != 0 ]; then
38 if [ -z "$AUTHOR_TESTING" ] || [ "$AUTHOR_TESTING" -ne 0 ]; then
39 AUTHOR_OPTS='--with-recommends'
41 DEPS="$DEPS $(cpanm --showdeps -q . --with-develop $AUTHOR_OPTS)"