in reply to Re^9: Shouldn't references be readonly? (updated)
in thread Shouldn't LITERAL references be readonly? (updated)

Put differently, you want to prevent transformation of references, but using a completely ineffective tool to achieve it. Making references read-only doesn't prevent transformation.

Preventing transformation (stringification, numification, but not booleanification) of references might be a good idea.

Issues:

Benefits:

Replies are listed 'Best First'.
Re^11: Shouldn't references be readonly? (updated)
by Corion (Patriarch) on Aug 10, 2020 at 06:08 UTC

    See also stringification, which allows you to say:

    no stringification;

    and forbids

    "$ref" # stringify $ref . "foo" # concat lc $ref lcfirst $ref uc $ref ucfirst $ref quotemeta $ref

      noice.

      There are only dev releases of the module. If this is something you (the reader) is interested in, perhaps you could contact the author to encourage a proper release or assist with it.