Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: DB persistence framework for Perl Classes

by Arunbear (Prior)
on Oct 17, 2004 at 01:43 UTC ( [id://399855]=note: print w/replies, xml ) Need Help??


in reply to DB persistence framework for Perl Classes

Is there an alternate interface for folks who don't like source filters?

Also, are you seriously advocating the use of $obj->{attr} over $obj->attr ?

Replies are listed 'Best First'.
Re^2: DB persistence framework for Perl Classes
by gmpassos (Priest) on Oct 17, 2004 at 02:26 UTC
    Each attr can be accessed over $obj->{attr} or $obj->set_attr() and $obj->get_attr. And each key is tied to paste over the getter and setter methods too.

    About the source filtering, Class::HPLOO can generate .pm files from .hploo files automatically in your distributions, if you don't want to parse the source for each interpreter execution or make distributions. But I can work in something that enables the interface with HDB::Object without need to use Class::HPLOO source filtering.

    Graciliano M. P.
    "Creativity is the expression of the liberty".

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://399855]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2025-06-24 04:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.