in reply to how to use attributes?
You can't declare subs (or variables) using attributes that have not been "defined" yet. To define your own attributes, you can use a module like Attribute::Handlers. For each attribute, you specify a handler that gets called whenever a sub (or variable) is defined using that attribute.
blokhead
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: how to use attributes?
by rvosa (Curate) on Mar 22, 2007 at 19:05 UTC |
In Section
Seekers of Perl Wisdom