No such thing as a small change | |
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?? |
You can set arbitrary attributes, but you must support them in your class. To get on track, add this early in your class definition:
You can read more about it in attributes, section Package-specific Attribute Handling Anno
In Section
Seekers of Perl Wisdom
|
|