Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: how to use attributes?

by Anno (Deacon)
on Mar 22, 2007 at 18:57 UTC ( [id://606096]=note: print w/replies, xml ) Need Help??


in reply to how to use attributes?

You can set arbitrary attributes, but you must support them in your class. To get on track, add this early in your class definition:
sub MODIFY_CODE_ATTRIBUTES { print "called with (@_)\n"; return }
You can read more about it in attributes, section Package-specific Attribute Handling

Anno

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-19 13:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found