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  -  MO::EXPORTS (3)

.ds Aq ’

Name

Mo::exporter - Export the @EXPORT list

CONTENTS

Synopsis



    package MyMo;
    # use Mo qw[exporter import];

    package SomeClass;
    use MyMo;

    has foo => (builder => build_foo);



Description

If you are defining your own Mo class for a project, and you want it to always use a default set of features, you should add import to the end of the list. Then by calling:



    use MyMo;



you get the default set: default and builder. If you just want default, do this:



    use MyMo default;



If you want no features for a particular class, use:



    use MyMo ;



Note

This feature is probably not useful, and possibly problematic, outside of Mo::Inline usage.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MO::EXPORTS (3) 2014-09-04

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