Technology Errors

Can’t use string (“CPAN::Tarzip”) as a HASH ref while “strict refs” in use at /usr/lib/perl5/5.8.8/CPAN/Tarzip.pm line 94.

The below error message was received after starting the CPAN shell and running “install Class::Accessor”. It was after upgrading the CPAN.pm message so to resolve this issue either just reload or upgrade and reload. Both sets of steps are detailed below.

Error: Can’t use string (“CPAN::Tarzip”) as a HASH ref while “strict refs” in use at /usr/lib/perl5/5.8.8/CPAN/Tarzip.pm line 94.

If you have not upgraded complete the following from the CPAN shell.
1. Open CPAN: perl -MCPAN -e shell
2. Upgrade CPAN.pm: install Bundle::CPAN

Details
Technology Insights

CentOS 5.2 /etc/sysconfig/networking

The file located in /etc/sysconfig/networking/profiles are created by the GUI network interface management tool. These files should not be edited manually and when changes need to be made they should be made directly to the files as shown below. CentOS 5 is easy to get around from the command line and it is beneficial to understand each of the below files if you are going to manage a server.

Need to make a change to hostname?
First modify /etc/sysconfig/network and modify the following line:
HOSTNAME=your.hostname.here

Details