go ahead... be a heretic | |
PerlMonks |
Re^3: How Are Attributes Useful?by redlemon (Hermit) |
on Jan 19, 2005 at 22:27 UTC ( [id://423530]=note: print w/replies, xml ) | Need Help?? |
Check Bot-CPAN. It's Glue module uses Attribute::Handlers to define well.. attributes to methods. That lets you define a bot command like:
I thought that was a rather elegant way of doing this.
In Section
Seekers of Perl Wisdom
|
|