Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://423530]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2017-03-01 20:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (429 votes). Check out past polls.