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

Code:Modification of a read-only value attempted at Net/Twitter/Core.pm line 233. #77

@jordivador

Description

@jordivador

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions