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?? |
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 Caution: Contents may have been coded under pressure.
In Section
Seekers of Perl Wisdom
|
|