Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: How Are Attributes Useful?

by redlemon (Hermit)
on Jan 19, 2005 at 22:27 UTC ( #423530=note: print w/ replies, xml ) Need Help??


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.


Comment on Re^3: How Are Attributes Useful?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://423530]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2014-11-28 19:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (200 votes), past polls