http://www.perlmonks.org?node_id=946502


in reply to Re^2: ref to read-only alias ... why?
in thread ref to read-only alias ... why?

5.14.2 behaves as in your posting.

5.14.1 dies with "Modification of a read-only value attempted".