[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: protected.pm (more Class::Fields)
On Mon, Jan 03, 2000 at 10:54:48AM -0500, london@pixelmagic.com wrote:
> Is protected.pm a proposed solution to
> "Solving the Data Inheritance Problem"
> item in the Perl Cookbook?
>
> to quote:
> "How can you safely carve out your own namespace in
> the object hash without trampling on any ancestors?"
>
> if not, could someone explain it in a short and
> sweet version?
Not exactly. fields/base.pm and pseudo-hashes is trying to solve that
problem (and it didn't quite get it). protected.pm is an addition to
that.
Do you understand how pseudo-hashes work and what fields.pm and
base.pm do? (Anyone else, pipe up if you need a refresher.)
--
Michael G Schwern schwern@pobox.com
http://www.pobox.com/~schwern
/(?:(?:(1)[.-]?)?\(?(\d{3})\)?[.-]?)?(\d{3})[.-]?(\d{4})(x\d+)?/i
- References to:
-
london@pixelmagic.com
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]