Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Perl core support for inside-out classes

by bart (Canon)
on Jun 25, 2006 at 10:24 UTC ( #557420=perlnews: print w/replies, xml ) Need Help??

This is probably old hat for those selected few among you that follow P5P, but yesterday, Anno Siegel posted an interesting article on comp.lang.perl.misc for the rest of us, entitled "Perl core support for inside-out classes". An excerpt:
As of v5.10 Perl will provide support for inside-out classes in form of a new core module Hash::Util::FieldHash. It is already available in the current bleadperl.

Inside-out classes store object data in hashes keyed by the object. That way each field of a class is realized as one lexical hash which may thus be called a field hash.

You can read the whole post on Google Groups, here.
  • Comment on Perl core support for inside-out classes

Replies are listed 'Best First'.
Perl core support for inside-out classes (link)
by Anonymous Monk on Jun 26, 2006 at 19:49 UTC
    well, I never heard the term inside-out objects/classes before , so I yahood and googled and found this link
    it explain what the heck inside-out object are, as a side note i prefer the term inside out object, since class is just but one way to define and create object, in others word, creating objects is the real objective, classes is but one way to create objects, and from the little i read, the inside-out way exactly offer a new way to create objecta

        Or see my index.

        We're building the house of the future together.
    A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlnews [id://557420]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2019-10-21 20:57 GMT
Find Nodes?
    Voting Booth?