Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by Roy Johnson (Monsignor)
on Jan 18, 2006 at 16:35 UTC ( #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? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2022-05-29 08:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?