Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: New Module Announcement: Object::InsideOut

by polettix (Vicar)
on Jan 10, 2006 at 11:45 UTC ( [id://522141]=note: print w/replies, xml ) Need Help??


in reply to New Module Announcement: Object::InsideOut

I'd make it clearer in the documentation that you can safely access data using $$self for read reasons. Current docs concentrate in setting values, not getting, and I had my hard time to find something corresponding to the suggested ->set() method.

I needed this mainly to build up a private accessor for a member variable. Which leads to a little feature request: would it be possible to automate the creation of private/protected methods? Or, if already present... would it be possible to read it clearly in the docs?

Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf

Don't fool yourself.

Replies are listed 'Best First'.
Re^2: New Module Announcement: Object::InsideOut
by jdhedden (Deacon) on Jan 10, 2006 at 15:53 UTC
    I'd make it clearer in the documentation that you can safely access data using $$self for read reasons.
    Okay. I'll do that.
    Would it be possible to automate the creation of private/protected methods?
    I just added this capability in v1.29 based on a user's suggestion (yours perhaps?). It's documented in the POD.

    Remember: There's always one more bug.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://522141]
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: (2)
As of 2024-04-20 03:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found