Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: Self creating OO Module field accessors...

by Roy Johnson (Monsignor)
on Jan 18, 2006 at 16:35 UTC ( [id://524010]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Self creating OO Module field accessors...
in thread Self creating OO Module field accessors...

You might consider whether you have an object that has-a struct that you should allow public access to. Then you'd need only one accessor method that returns a ref to the struct and allow the user to stomp all over it access its fields as required. :-)

Caution: Contents may have been coded under pressure.
  • Comment on Re^3: Self creating OO Module field accessors...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (1)
As of 2024-04-25 04:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found