in reply to Re^5: How could I check if a variable is 'read-only'?
in thread How could I check if a variable is 'read-only'?
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)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: How could I check if a variable is 'read-only'?
by choroba (Cardinal) on Jun 15, 2019 at 20:00 UTC |