Scroll to navigation

Mo::Moose(3) User Contributed Perl Documentation Mo::Moose(3)

Name

Mo::Moose - Use Moose instead of Mo

Synopsis

    use Mo 'Moose';
    has foo => ();

Description

If you use Mo and want to try Moose without adding "is" and "lazy" options to all your attributes you can just do this:

    use Mo 'Moose';
    use foo => ();

and everything should work, but now uses Moose instead of Mo for everything.

2016-07-08 perl v5.38.2