Locking the values can be achieved by the Readonly module, but I have yet to see a convincing use case for the locking of a whole array.
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
In reply to Re: equivalent to Hash::Util for lists / arrays
by CountZero
in thread equivalent to Hash::Util for lists / arrays
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |