GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MOOS::ROLE (3)

.ds Aq ’

NAME

Moos::Role - Simple roles for Moos.

CONTENTS

SYNOPSIS



    package Milkable;
    use Moos-Role;        # note not "Moos::Role"
    has udders;
    sub milk { ... }

    package Cow;
    use Moos;
    with Milkable;



DESCRIPTION

Moos-Role is a small wrapper around Role::Tiny providing a few additional Moos features.

FEATURES

strict/warnings Turns on strict and warnings for you.
Helpful exports The ever useful blessed (from Scalar::Util) and confess (from Carp) are exported to your namespace.
has Accessor generator. See Moos.

DEVELOPMENT OPTIONS

PERL_MOOS_XXX By setting the environment variable, Moos will export the XXX debugging keywords.

SEE ALSO

o Moos
o Role::Tiny

AUTHORS

o Ingy doet Net <ingy@cpan.org>
o Toby Inkster <tobyink@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2012-2014. Ingy doet Net.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See <http://www.perl.com/perl/misc/Artistic.html>

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MOOS::ROLE (3) 2014-08-19

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.