readonly icon indicating copy to clipboard operation
readonly copied to clipboard

Facility for creating read-only scalars, arrays, hashes

Results 22 readonly issues
Sort by recently updated
recently updated
newest added

In the benchmark, there's a reference to a `roxs`, but from the code it seems that it's assumed that both `&ro` and `&ro_simple` use `Readonly::XS`, whereas `&rotie` doesn't, so if...

All the examples in the Readme documentation use lowercase naming. There are recommendations from more recent and reasonably authoritative sources that suggest uppercase naming including Perl Best Practices (pages 45,...

[Edit: See next comment for a related problem where refs-to-refs aren't readonly] If the thing being `Readonly::Clone`d is a ref-to-scalar, you get back the scalar, without the reference: ``` #!/usr/bin/perl...

I have a script directly using ReadonlyX and also using another module which, in turn, uses Readonly (note: no "X"). This leads to a bunch of warnings of the following...

Code and tests to support making qr// Regexps Readonly using ReadonlyX as mentioned in issue #38

When using compiled regexps (qr//), ReadonlyX doesn't work. If you try to assign the return from qr// to a new Readonly::Scalar it sets the value to undef, and if you...

When storing a Readonly variable with `Storable::store`, retrieving the value again using `Storable::retrieve` results in the error message: ``` Can't locate Readonly/Scalar.pm in @INC (you may need to install the...

wontfix

### Problem Description When Readonly::Scalar is used for a hash reference, and the referenced hash contains a key whose value is an array reference. In such a scenario running over...

"our" declarations seem to work with Readonly much like "my", with the expected differences. It would be helpful for the documentation to formally mention "our" declarations as a feature but...

I have a configuration object that should only be modified by internal modules, but occasionally needs to be read via external pieces of the process. I think the answer is...