How To Fix CPAN Error Undefined subroutine &IO::Uncompress::Base::readonly

Published Date Author: , Posted December 26th, 2013 at 1:41:44pm

CPAN Error: Undefined subroutine &IO::Uncompress::Base::readonly called at /usr/lib/perl5/site_perl/5.8.8/IO/Uncompress/Base.pm

Looks like CentOS update installs an older version of the Scalar::Util so that Perl could not load the module.

Download the Scalar::Util module and manually install it:

To test:
perl -MCPAN -e 'shell'

For more information, visit the CPAN Util.pm page.

Original Post: http://www.perlmonks.org/?displaytype=print;node_id=965635;replies=1

Comments reader  One Reader Comment

Ron Wheeler - Gravatar

Ron Wheeler said on December 13, 2014, 2:02 pm:

Very helpful.
Thanks

Leave Your Comment  Leave a comment

All fields marked with "*" are required.