>>>>> "Y" == Yukihiro Matsumoto <matz / netlab.co.jp> writes:

Y> Freezing is implemented for arrays, hashes, strings.
Y> Do you need it for structs too?

 I was writing a small extension with a hash, and I don't want that the
 user can accidentally modify the hash (the hash just contain information
 about a random generator : name, seed, number of calls).

 Finally I've switched to a struct (it seems more logical, at least for me)
 and I've found that freeze don't work with struct.

 I was just surprised, and just want to know if there is a reason for this.


Guy Decoux