- SEE ALSO
- COPYRIGHT AND LICENSE
Statocles::Base - Base module for Statocles modules
package MyModule; use Statocles::Base; use Statocles::Base 'Class'; use Statocles::Base 'Role'; use Statocles::Base 'Test';
This is the base module that all Statocles modules should use.
This module always imports the following into your namespace:
The base module is imported to make sure that File::Share can find the right share directory.
Currently the 5.10 feature bundle
- Path::Tiny qw( path rootdir )
We do a lot of work with the filesystem.
The following bundles are available. You may import one or more of these by name.
The class bundle makes your package into a class and includes:
The role bundle makes your package into a role and includes:
The test bundle includes:
- Dir::Self '__DIR__'
- Path::Tiny 'path', 'tempdir'
Some common test routines for Statocles.
In order to have logging, a site object must be created.
Doug Bell <email@example.com>
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.