Skip Menu |

This queue is for tickets about the Readonly-XS CPAN distribution.

Report information
The Basics
Id: 64793
Status: new
Priority: 0/
Queue: Readonly-XS

People
Owner: Nobody in particular
Requestors: mschwern [...] cpan.org
Cc: ingy [...] cpan.org
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.05
Fixed in: (no value)



CC: ingy [...] cpan.org
Subject: Readonly::Scalar() doesn't allow blessing, but Readonly() does
There's an inconsistency between Readonly() and Readonly::Scalar(). The attached test illustrates the problem. A scalar made readonly with Readonly() can be blessed. One by Readonly::Scalar() cannot. I don't know which is the correct behavior, but the two should behave the same. Readonly.pm always allows reblessing. boolean 0.24 revealed this bug.
Subject: test.plx
Download test.plx
application/octet-stream 226b

Message body not shown because it is not plain text.