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

Re: New Module Announcement: Object::InsideOut

by polettix (Vicar)
on Jan 10, 2006 at 11:45 UTC ( #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.


Comment on Re: New Module Announcement: Object::InsideOut
Select or Download Code
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
Node Status?
node history
Node Type: note [id://522141]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2015-07-29 23:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls