Contenticious::Content::Node::File - a file in a Contenticious content tree
use Contenticious::Content::Node::File; my $file = Contenticious::Content::Node::File->new( filename => 'foo.md' ); my $html = $file->html;
File nodes represent files in a Contenticious::Content content tree.
Contenticious::Content::Node::File inherits all Contenticious::Content::Node attributes and implements the following new ones:
Raw file content right after decoding.
File content after meta informations are extracted.
Contenticious::Content::Node::File inherits all Contenticious::Content::Node methods and implements the following new ones:
my $html = $file->html;
HTML generated by Text::Markdown from this file's content.
content
Contenticious::Content::Node, Contenticious::Content::Node::Directory, Contenticious::Content, Contenticious
To install Contenticious, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Contenticious
CPAN shell
perl -MCPAN -e shell install Contenticious
For more information on module installation, please visit the detailed CPAN module installation guide.