sub foo : method ; use attributes ( ); # Optional, to get subroutine declarations my @attrlist = attributes::get(\&foo);
The built-in attributes are:
There are no built-in attributes for anything other than subroutines.
Copyright © 2002 O'Reilly & Associates. All rights reserved.