in reply to Re^3: OO in Perl 5: still inadequate
in thread OO in Perl 5: still inadequate
Yup.
---------------------------------------------------------- Module#free +ze mod.freeze ---------------------------------------------------------------------- +-- Prevents further modifications to _mod_.
And there's also Object#freeze which prevents modification of individual instances (preventing you from adding singleton methods to them).
|
|---|