in reply to Re^2: How Are Attributes Useful?
in thread How Are Attributes Useful?
Check Bot-CPAN. It's Glue module uses Attribute::Handlers to define well.. attributes to methods. That lets you define a bot command like:
sub list :help ("lists available modules") :private :adminCmd { # implements list() }
I thought that was a rather elegant way of doing this.
In Section
Seekers of Perl Wisdom