in reply to Re^2: constant vector
in thread constant vector

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.