On Thu, Jul 7, 2011 at 2:31 PM, Nicholas Clark <nick@ccl4.org> wrote: > Also, right now, I think that only read-only views of read-write scalars > will work. SvREADONLY() doesn't currently mean anything on arrays, hashes > (typeglobs etc). Even worse, SVf_READONLY is hijacked on hashes to mean > "restricted hash", so they would have to be moved out of the way to allow > anything. SvREADONLY works fine on arrays. The situation with hashes is something that annoys me, not in the last place because it's almost but not quite the right thing. > Which suggests that "shallow" is a reasonable answer. Which is exactly what it currently does. LeonThread Previous | Thread Next