Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Readonly oddity

by mr_ron (Chaplain)
on Mar 03, 2016 at 18:02 UTC ( #1156749=note: print w/replies, xml ) Need Help??

in reply to Readonly oddity

There is now a new release, VERSION 2.01, of Readonly that addresses the problems in the original post. On closer examination it turned out that while

Readonly my @baz = (qw/glug argh/); Readonly my %h = (key => 42);

initialized variables with the right values, the resulting variables were not read only and could be modified unlike variables correctly initialized with the '=>' operator. So the new patch/release disallows initialization by assignment with a 'croak' message.

An issue was opened and now closed for the concern in this post: Readonly GitHub issue 18. It turns out that Readonly has old issues on as well as new issues on GitHub. There actually was a ticket for the posted problem on but I didn't know enough to check there when I searched. The rt ticket 86086 may now be closed AFAICT.


Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1156749]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2022-12-09 13:23 GMT
Find Nodes?
    Voting Booth?

    No recent polls found