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

.ds Aq ’

Name

Mo::chain - Adds the chain feature to Mo’s has

CONTENTS

Synopsis



    package Foo;

    use Mo qwchain;
    has first  => ( chain => 1 );
    has second => ( chain => 1 );

    Foo->new->first(1)->second(2);



Description

Adds the chain parameter to has. If you set it to a true value, the accessor will return the class instance if values are set, instead of the value itself. As a result, accessors can be chained.
Search for    or go to Top of page |  Section 3 |  Main Index


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

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