Think about Loose Coupling | |
PerlMonks |
Re: How Are Attributes Useful?by metaperl (Curate) |
on Jan 19, 2005 at 01:08 UTC ( [id://423237]=note: print w/replies, xml ) | Need Help?? |
apparently, they save you from creating a bunch of pointers to the subs that you want for a certain thing. Test::Class, for instance, allows you to attribute subs so that each set of subs performs certain roles in the testing process.
In Section
Seekers of Perl Wisdom
|
|