Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does it say “Modification of a read-only value attempted at…”?

0
Posted

Why does it say “Modification of a read-only value attempted at…”?

0

This can now be fixed by upgrading to XML::Parser 2.27, which is available at any CPAN mirror or at http://www.perl.com/CPAN/modules/by-module/XML/perl-xml-modules.html. Alternatively, it can also be fixed by upgrading from Perl 5.004 to Perl 5.005. We observed this on WebFetch 0.10 using the modules that retrieve news via XML (Slashdot and LinuxToday, so far) while using XML::Parser 2.24-2.26 on Perl 5.004_xx. It was due to a bug in Perl 5.004 which caused a failure in the XML::Parser module, and does not affect Perl 5.005. The changes in XML::Parser 2.27 include a workaround for the Perl5.004 bug. Before XML::Parser 2.27 was released, we made this patch for XML::Parser 2.26. Now that XML::Parser 2.27 is out, you would only use this patch if, for some reason, you must use Perl5.004_xx and XML::Parser 2.26. It’s a fix to the Expat/Expat.xs file, implementing the same workaround for the Perl 5.004 bug as XML::Parser 2.27 uses.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123