The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Statocles::Base - Base module for Statocles modules

VERSION

version 0.041

SYNOPSIS

    package MyModule;
    use Statocles::Base;

    use Statocles::Base 'Class';
    use Statocles::Base 'Role';
    use Statocles::Base 'Test';

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.

Time::Piece

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::Lax
Types::Standard ':all'
Types::Path::Tiny ':all'
Statocles::Types ':all'

Role

The role bundle makes your package into a role and includes:

Moo::Role::Lax
Types::Standard ':all'
Types::Path::Tiny ':all'
Statocles::Types ':all'

Test

The test bundle includes:

Test::More
Test::Deep
Test::Differences
Test::Exception
Dir::Self '__DIR__'
Path::Tiny 'path', 'tempdir'
Statocles::Test

Some common test routines for Statocles.

Statocles::Site

In order to have logging, a site object must be created.

SEE ALSO

Import::Base

AUTHOR

Doug Bell <preaction@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 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.