$ cpan -D Moose
CPAN: Storable loaded ok (v2.62)
Reading '/home/gilligan/.cpan/Metadata'
Database was generated on Wed, 12 Feb 2020 20:41:03 GMT
Moose
-------------------------------------------------------------------------
(no description)
E/ET/ETHER/Moose-2.2012.tar.gz
/usr/lib/x86_64-linux-gnu/perl5/5.26/Moose.pm
Installed: 2.2009
CPAN: 2.2012 Not up to date
Karen Etheridge (ETHER)
ether@cpan.org
$
####
$ cpan -l | grep cpanminus
Use of uninitialized value $ExtUtils::MakeMaker::_version::CVSVERSION in pattern match (m//) at (eval 213) line 7, line 19.
Use of uninitialized value $ExtUtils::MakeMaker::_version::CVSVERSION in pattern match (m//) at (eval 214) line 7, line 19.
Use of uninitialized value $ExtUtils::MakeMaker::_version::CVSVERSION in pattern match (m//) at (eval 215) line 7, line 17.
App::cpanminus 1.7044
##
##
#!/bin/bash
#
#
# keep a log named by time stamp
export PATH=:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin
set -u
app=${0##*/}
mkdir "mod_lists"
pathto=mod_lists
timename=$(date +"%m-%d-%Y_%H-%M-%S")
out=$HOME/Documents/Documents/hogan/$pathto/$timename.log
if [ 1 -eq 1 ] ; then
echo "basename dollar sign zero is" $app
echo "path is" $pathto
echo "Munged time is" $timename
echo "out fn is $out"
echo "Time is $timename " > "$out"
fi # end if [ 1 -eq 0 ]
declare -ir SUCCESS=0
declare -ir E_FATAL=1
pwd | tee -a "$out"
echo "installing useful packages:" | tee -a "$out"
sudo perl -MCPAN -e 'install Bundle::CPAN' | tee -a "$out"
./1.mod.pl | tee -a "$out"
echo "end of output" | tee -a "$out"
gedit $out &
read -n 1
echo "duration=$SECONDS" | tee -a "$out"
date | tee -a "$out"
exit $SUCCESS