Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Self creating OO Module field accessors...by Old_Gray_Bear (Bishop) |
on Jan 12, 2006 at 22:37 UTC ( [id://522830]=note: print w/replies, xml ) | Need Help?? |
Autoload (can be) your friend. I have dealt with packages where most (if not all) the accesor/mutators were generated via autoload() code. This works for 'simple' attributes reasonably well. There is a performance penalty, of course....
---- OGB
In Section
Seekers of Perl Wisdom
|
|