Open jordivador opened 7 years ago
The assignment to $_
is correct, provided $_
is modifiable, which is expected in that context. Can you show me the actual API call that results in the error?
If possible, please use Twitter::API instead of Net::Twitter. It's a complete replacement. I intend to deprecate Net::Twitter. It's mostly a drop in replacement. You use new_with_options
instead of new
, but otherwise, most code requires no other changes.
That may not resolve this problem. Something else seems amiss here. Seeing the actually API call may help me diagnose it further.
Hi, I'm getting this error
Code:Modification of a read-only value attempted at Net/Twitter/Core.pm line 233.
when I usedecode_html_entities
I've tried using it as:
And:
In both cases the same error appears.
I'm using Net::Twitter version
4.01008
and Perl5.14.2
. I've checked the last version of lib and the code fromdecode_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.