HiD::Layout - Class representing a particular layout
my $layout = HiD::Layout->new({ filename => $path_to_file , processor => $hid_processor_object , });
Class representing layout files.
Content of this layout.
File extension of this layout.
Filename of this layout.
Name of a layout that will be used when processing this layout. (Can be applied recursively.)
Metadata for this layout. Populated from the YAML front matter in the layout file.
Name of the layout.
Processor object used to process content through this layout when rendering.
Pass in a hash of data, apply the layout using that hash as input, and return the resulting output string.
Will recurse into embedded layouts as needed.
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.