##
$ cd /usr/ports/lang
$ mkdir -p perl5.8/files
$ cd perl5.8
$ ftp ftp://ftp.freebsd.org/pub/FreeBSD/branches/4.0-stable/ports/lang/perl5.8/
# at this point I enter the FTP shell
> prompt
> mget *
> lcd files
> cd files
> mget *
> exit
$ cd ..
##
##
$ cd /usr/ports/lang/perl5.8/
$ make install
##
##
pkg_info -L perl-5.8.0* | grep local/bin | perl -pe 's!/usr/local/bin/!!'>perl_binaries.txt
##
##
for f in `cat perl_binaries.txt`; {
echo "mv /usr/local/bin/$f /usr/local/bin/$f.copy; ln -s /usr/bin/$f /usr/local/bin/$f";
}
##
##
cp /usr/libdata/perl/5.00503/CPAN/Config.pm /usr/local/lib/perl5/5.8.0/CPAN/Config.pm
##
##
/usr/local/bin/perl58.copy -MCPAN -e 'install Bundle::Snapshot_Your_Name_Here' | tee perl_module_upgrade_results.txt
##
##
perl_module_upgrade_results.txt
file:
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install
Bundle summary: The following items in bundle Bundle::Test had installation
problems:
DBD::Pg
##
##
PERL_VERSION=5.8.0
PERL_VER=5.8.0
PERL5=/usr/local/bin/perl58.copy
PERL=/usr/local/bin/perl58.copy
PERL_ARCH=mach
##
##
perl58.copy Makefile.PL
make install POLLUTE=1
##
##
POLLUTE
Release 5.005 grandfathered old global symbol names by
providing preprocessor macros for extension source
compatibility. As of release 5.6, these preprocessor
definitions are not available by default. The POLLUTE
flag specifies that the old names should still be
defined:
perl Makefile.PL POLLUTE=1
Please inform the module author if this is necessary to
successfully install a module under 5.6 or later
GnuPG. GnuPG needed to be patched to make
##
##
$img->Write(file=>\*IMAGE,filename=>$filename);
##
##
$img->Write(filename=>$filename);
##
##
diff 5.5-bare-module-list.txt 5.8-bare-module-list.txt | grep '>' | tee only-in-5.5.txt | more
##
##
for f in `cat 5.5-bare-module-list.txt`; { echo -n "$f XXX "; perl -M$f -e 1; echo; } 2>&1 | tee 5.5-use-module-failures.txt
##
##
diff 5.5-use-module-failures.txt 5.8-use-module-failures.txt | grep '>.*XXX \w' | tee modules_broken_in_58_and_not_55.txt | more
##
##
/usr/local/lib/perl5/5.8.0/CGI/Carp.pm
/usr/local/lib/perl5/site_perl/5.8.0/CGI/Carp.pm
##
##
cp /usr/local/lib/perl5/5.8.0/CGI/Carp.pm /usr/local/lib/perl5/site_perl/5.8.0/CGI/Carp.pm
##
##
use CGI qw(param);
# ....
print popup_menu(-name=>'foo',values=>[0,1]);
##
##
Undefined subroutine &Sumsault::CgiDB::popup_menu called at
##
##
ls -l /usr/bin/{perl,suidperl,perl5*,sperl*}
##
##
/usr/local/bin/use.perl port
##
##
for f in `cat perl_binaries.txt`; { echo "mv /usr/local/bin/$f.copy /usr/local/bin/$f; "; }
##
##
locate 'httpd-error_log' | grep -v '\.' | xargs tail -50 | egrep -v \
'does not exist|script not found|invalidate|authentication failure|unable to include|commit ineffective|uninitialized value|explicit disconnect' | more
##
##
/usr/local/bin/use.perl system