This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Description
Hi,
I'm getting this error
Code:Modification of a read-only value attempted at Net/Twitter/Core.pm line 233.
when I use decode_html_entities
I've tried using it as:
Net::Twitter->new(
traits => [qw/API::RESTv1_1 OAuth/],
consumer_key => core::Config->get('twitter')->{consumer_key},
consumer_secret => core::Config->get('twitter')->{consumer_secret},
ssl => 1
);
And:
$result = $self->api->_decode_html_entities($result)
In both cases the same error appears.
I'm using Net::Twitter version 4.01008 and Perl 5.14.2. I've checked the last version of lib and the code from decode_html_entities seems the same to me.
I'm not used with Moo itself and it's grammar but I wonder if the assignment of $_ to another value it's correct or not.
Thanks in advance.