NAME

Statocles::Base - Base module for Statocles modules

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

Import::Base