libconst-fast-perl

Facility for creating read-only scalars, arrays, and hashes
  https://metacpan.org/release/Const-Fast/
  0
  no reviews



Const::fast is a perl module for creating read-only scalars, arrays, and hashes. it enables you to set a variable to the given value and subsequently make it readonly. arrays and hashes will be made deeply readonly.

this module uses the builtin readonly feature of perl, making access to the variables just as fast as any normal variable without the weird side-effects of ties.