Public git conversion mirror of OpenBSD's official cvs ports repository. Pull requests not accepted - send diffs to the ports@ mailing list.
696295f9d9
Your parameterized role consists of two new things: parameter declarations and a role block. Parameters are declared using the "parameter" keyword which very much resembles "has" in Moose. You can use any option that "has" in Moose accepts. The default value for the is option is ro as that's a very common case. Use is => 'bare' if you want no accessor. These parameters will get their values when the consuming class (or role) uses "with" in Moose. A parameter object will be constructed with these values, and passed to the role block. from Stephan A. Rickauer (MAINTAINER), with tweaks by me |
||
---|---|---|
archivers | ||
astro | ||
audio | ||
benchmarks | ||
biology | ||
books | ||
cad | ||
chinese | ||
comms | ||
converters | ||
databases | ||
devel | ||
editors | ||
education | ||
emulators | ||
games | ||
geo | ||
graphics | ||
infrastructure | ||
inputmethods | ||
japanese | ||
java | ||
korean | ||
lang | ||
math | ||
misc | ||
multimedia | ||
net | ||
news | ||
palm | ||
plan9 | ||
productivity | ||
russian | ||
security | ||
shells | ||
sysutils | ||
telephony | ||
textproc | ||
www | ||
x11 | ||
.cvsignore | ||
INDEX | ||
Makefile | ||
README |
Documentation for the ports tree: ports(7), packages(7), mirroring-ports(7), library-specs(7), bsd.port.mk(5), port-modules(5). See also http://www.openbsd.org/porting.html $OpenBSD: README,v 1.18 2009/03/13 10:03:29 giovanni Exp $