NAME
Statocles::Base - Base module for Statocles modules
VERSION
version 0.098
SYNOPSIS
package MyModule;
use Statocles::Base;
use Statocles::Base 'Class';
use Statocles::Base 'Role';
DESCRIPTION
This is the base module that all Statocles modules should use.
MODULES
This module always imports the following into your namespace:
- Statocles
-
The base module is imported to make sure that File::Share can find the right share directory.
- strict
- warnings
- feature
-
Currently the 5.10 feature bundle
- Path::Tiny qw( path rootdir )
-
We do a lot of work with the filesystem.
- DateTime::Moonpig
BUNDLES
The following bundles are available. You may import one or more of these by name.
Class
The class bundle makes your package into a class and includes:
- Moo
- Types::Standard ':all'
- Types::Path::Tiny ':all'
- Statocles::Types ':all'
Role
The role bundle makes your package into a role and includes:
- Moo::Role
- Types::Standard ':all'
- Types::Path::Tiny ':all'
- Statocles::Types ':all'
SEE ALSO
AUTHOR
Doug Bell <preaction@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.