freebsd-ports/devel/p5-Data-Object-Role-Arguable/pkg-descr
Sunpoet Po-Chuan Hsieh decf89e67f Add p5-Data-Object-Role-Arguable 0.01
Data::Object::Role::Arguable provides a mechanism for unpacking an argument list
and creating a data structure suitable for passing to the consumer constructor.
The argslist routine should return a list of attribute names in the order to be
parsed. An attribute name maybe prefixed with "@" to denote that all remaining
items should be assigned to an arrayref, e.g. @options, or "%" to denote that
all remaining items should be assigned to a hashref, e.g. %options.

WWW: https://metacpan.org/release/Data-Object-Role-Arguable
2020-04-24 17:47:59 +00:00

8 lines
527 B
Text

Data::Object::Role::Arguable provides a mechanism for unpacking an argument list
and creating a data structure suitable for passing to the consumer constructor.
The argslist routine should return a list of attribute names in the order to be
parsed. An attribute name maybe prefixed with "@" to denote that all remaining
items should be assigned to an arrayref, e.g. @options, or "%" to denote that
all remaining items should be assigned to a hashref, e.g. %options.
WWW: https://metacpan.org/release/Data-Object-Role-Arguable