Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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.