That syntax declares an attribute. I'm not sure where they are discussed in the Perl documentation - maybe only within the attributes pragma.
If you want to learn how you can (ab)use attributes yourself, Attributes::Handlers is the best wrapper I guess.
In reply to Re: Arcane syntax question (Catalyst/OOPerl)
by Corion
in thread Arcane syntax question (Catalyst/OOPerl)
by bitstream
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |