HiD::Role::IsPublished - Role to be consumed by classes that are published during processing
package MyThingThatIsPublished; use Moose; with 'HiD::Role::IsPublished'; ... 1;
This role is for all objects that go through the HiD publishing process. It provides attributes and methods that are needed during that process.
Basename of the file for this object (that is, without any leading directory path and without any file extension).
Base URL for use in Templates
The path to the directory where the output_filename will be written.
The extension on the input filename of the consuming object.
The path of the consuming object's file. Required for instantiation.
The path component of the input filename.
Path to the file that will be created when the write method is called.
write
Same as 'source' in HiD.pm. Normally shouldn't need to be provided.
The URL to the output path for the written file.
version 1.98
John SJ Anderson <genehack@genehack.org>
This software is copyright (c) 2015 by John SJ Anderson.
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 HiD, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HiD
CPAN shell
perl -MCPAN -e shell install HiD
For more information on module installation, please visit the detailed CPAN module installation guide.