Description
Perl code can mark scalars, arrays, and hashes as read-only to prevent accidental modification. This is useful for constants, configuration tables, and shared data that should not change after setup.
It is a developer library. Read-only values help catch mistakes, but applications still need careful design for mutable state, concurrency, and external configuration.