Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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
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 lurking in the Monastery: (11)
As of 2014-07-23 08:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (136 votes), past polls