The 'Readonly' module uses the now-deprecated 'Internals' module to set/clear the scalar read-only flag.
Well, so does the core pragma constant, but it does seem like P5P might change the API in the future. For reference, here is the discussion that led to the creation of Internals.pod.
In reply to Re^3: constant vector
by haukex
in thread constant vector
by wbirkett
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |