I have this bug with perl-5.12.2 and AppConfig 1.66 :
Modification of a read-only value attempted at
/usr/local/perl-dists//perls/perl-5.12.2/lib/site_perl/5.12.2/AppConfig/File.pm
line 143.
I have look at the file, it seems that when Readonly is installed, they
is an issue.
Here the code :
# initialise $prefix to nothing (no [block])
$prefix = '';
while (<$handle>) {
chomp;
# Throw away everything from an unescaped # to EOL
s/(^|\s+)#.*/$1/;
Here the fix :
# initialise $prefix to nothing (no [block])
$prefix = '';
while (local $_ = <$handle>) {
chomp;
# Throw away everything from an unescaped # to EOL
s/(^|\s+)#.*/$1/;