Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Readonly CPAN distribution.

Report information
The Basics
Id: 59690
Status: new
Priority: 0/
Queue: Readonly

Owner: Nobody in particular
Requestors: LEONT [...]

Bug Information
Severity: Normal
Broken in:
  • 1.02
  • 1.03
Fixed in: (no value)

Subject: Readonly never needs Readonly::XS on perl 5.8 and up
Download (untitled) / with headers
text/plain 446b
Readonly::XS contains a reimplementation of functionality already embedded in perl 5.8 and up. Readonly can easily take benefit from them in the absence of Readonly. The functions exported from Readonly::XS can be easily implemented along the lines of this: if ($] >= 5.008) { *is_sv_readonly = sub($) { Internals::SvREADONLY($_[0]) }; *make_sv_readonly = sub($) { Internals::SvREADONLY($_[0], 1) }; $XSokay = 1; } else { ... }

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to