| Module Info
| Add a review of Readonly
Breaks code depending on Readonly::XS.
Does what it says but hash and array support causes noticeable slowdowns in tight loops.
Consider using Const::Fast instead which has a lower performance impact.
Learned about this via Perl Best Practices and I've been using it reflexively since then. Small, simple, does what it says.
An alternative to this is authors/id/S/ST/STBEY/Internals-1.1.tar.gz.
More low-level, more freedom, more fine-grained control, but also more hassle and more dangerous.
Very nice. use constant was a real pain. The best tip in PBP.
install Readonly::XS if you can.
This is a really nice way to declare constants. I was turned onto it by Damian Conway via Perl Best Practices.