in reply to Re^3: OO in Perl 5: still inadequate
in thread OO in Perl 5: still inadequate
The point was that inside-out objects done using lexical variables are themselves strongly encapsulated. So you can subclass any class without knowing the implementation of the superclass, but your encapsulation is no longer advisory.
(Well, until xdg made his “err, package vars anyone?” point further down in the thread and I headdesked.)
Makeshifts last the longest.
|
|---|