in reply to Can I please have *simple* modules?
While I can understand the wish for simple modules in general, I fail to see why anyone would want to use a module to generate their accessors.
Accessors are simple. They're one liners. I find code that just spells out the accessors much simpler than code that uses a module to create the accessors for them - no matter how simple the module is.
# Look ma, no module! sub get_attribute {$attribute {refaddr $_[0]}} sub set_attribute {$attribute {refaddr $_[0]} = $_[1]}
Perl --((8:>*
In Section
Meditations