p5-MooseX-Has-Options-0.003nb5.tgz


Advertisement

Description

p5-MooseX-Has-Options - Succinct options for Moose

Property Value
Distribution NetBSD 7.1
Repository NetBSD amd64
Package name p5-MooseX-Has-Options
Package version 0.003nb5
Package architecture amd64
Package type tgz
Package license gnu-gpl-v2 OR artistic
Installed size 24.94 KB
Download size 7.98 KB
Official Mirror ftp.netbsd.org
MooseX::Has::Options provides a succinct syntax for declaring options for
Moose attributes. It hijacks the has function imported by Moose and replaces
it with one that understands following options syntax:
use Moose;
use MooseX::Has::Options;
has 'some_attribute' => (
qw(:ro :required),
isa => 'Str',
...
);
This will converted into:
use Moose;
use MooseX::Has::Options;
has 'some_attribute' => (
is => 'ro',
required => 1,
isa => 'Str',
...
);
Homepage: http://search.cpan.org/dist/MooseX-Has-Options/
Categories: devel, perl5

Alternatives

Package Version Architecture Repository
p5-MooseX-Has-Options-0.003nb5.tgz 0.003nb5 i386 NetBSD
p5-MooseX-Has-Options - - -

Requires

Name Value
p5-Package-Stash >=0.18
perl >=5.28.0<5.30.0

Download

Type URL
Binary Package p5-MooseX-Has-Options-0.003nb5.tgz
Source Package p5-MooseX-Has-Options

Install Howto

Install p5-MooseX-Has-Options tgz package:

# pkg_add p5-MooseX-Has-Options

See Also

Package Description
p5-MooseX-InsideOut-0.106nb7.tgz Perl 5 module providing inside-out objects with Moose
p5-MooseX-LazyRequire-0.11nb4.tgz Required attributes which fail only when trying to use them
p5-MooseX-MarkAsMethods-0.15nb7.tgz Mark overload code symbols as methods
p5-MooseX-Meta-TypeConstraint-ForceCoercion-0.01nb10.tgz Perl 5 module providing forced coercion validating type constraints
p5-MooseX-Method-Signatures-0.49nb3.tgz Perl 5 module for method declarations with type constraints
p5-MooseX-MethodAttributes-0.31nb3.tgz Perl5 module for code attribute introspection
p5-MooseX-MultiInitArg-0.02nb4.tgz Attributes with aliases for constructor arguments
p5-MooseX-NonMoose-0.26nb4.tgz Perl 5 module to subclass non-Moose classes with Moose
p5-MooseX-Object-Pluggable-0.0014nb4.tgz Perl 5 module to add plugin support to Moose classes via roles
p5-MooseX-OneArgNew-0.005nb3.tgz Moose role to teach ->new to accept single, non-hashref arguments
p5-MooseX-POE-0.215nb5.tgz Moose wrapper around a POE::Session
p5-MooseX-Param-0.02nb10.tgz Simple role to provide a standard param method
p5-MooseX-Params-Validate-0.21nb4.tgz Extension of Params::Validate for using Moose's types
p5-MooseX-Role-Parameterized-1.10nb2.tgz Roles with composition parameters
p5-MooseX-Role-Tempdir-0.100nb2.tgz (Perl Module) Moose role to provide temporary directories
Advertisement
Advertisement