Stepford::Role::Step::FileGenerator - A role for steps that generate files
version 0.002006
This role consumes the Stepford::Role::Step role and adds some additional functionality specific to generating files.
This role provides the following methods:
This method adds a wrapper to the BUILD method which checks that all of the class's productions are of the File type provided by MooseX::Types::Path::Class. The attributes can also be subtypes of this type.
File
This check may be changed so that it is done as part of the class definition, if I can think of a way to do this sanely.
This returns the most recent file modification time from all of the step's productions.
Dave Rolsky <drolsky@maxmind.com>
This software is copyright (c) 2014 by MaxMind, Inc..
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Stepford, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Stepford
CPAN shell
perl -MCPAN -e shell install Stepford
For more information on module installation, please visit the detailed CPAN module installation guide.