Subject: | ::Style::Stream should localize $_ |
From XML::Parser::Style::Stream:
sub doText {
no strict 'refs';
my $expat = shift;
$_ = $expat->{Text};
If $_ is read only when this function is called, the function will die with 'Modification of a read-only value attempted'. The fix is to localize $_ here (and everywhere else it is used like this).
I can write a failing test case if it helps. I could also try to write a patch if needed.