in reply to Re^4: How could I check if a variable is 'read-only'?
in thread How could I check if a variable is 'read-only'?

cant reproduce that here, try upgrading perl and or json module
  • Comment on Re^5: How could I check if a variable is 'read-only'?

Replies are listed 'Best First'.
Re^6: How could I check if a variable is 'read-only'?
by Your Mother (Archbishop) on Jun 15, 2019 at 19:56 UTC

    Or cite yours…?

    readonly: no Modification of a read-only value attempted at - line 9. # Successfully installed JSON-4.02 (upgraded from 2.97001) readonly: no Modification of a read-only value attempted at - line 8. # Scalar::Util is up to date. (1.50) perl -MScalar::Util=readonly -MJSON -E 'say readonly(JSON::false) ? "r +eadonly" : "ReAdOnLY"' ReAdOnLY # This is perl 5, version 18, subversion 4 (v5.18.4)