Contenticious::Content::Node - base class for Contenticious content
use Mojo::Base 'Contenticious::Content::Node';
Basic node functionality for both files and directories.
is_root
Is true iff this node is the root node of a content tree.
filename
The filename of this node. Needs to be set early.
name
The name of this node.
path_prefix
A prefix for this node's path in the whole content tree.
path
This node's path in the whole content tree.
meta
A hashref of meta informations.
html
Generated HTML from this node.
title
This node's title.
navi_name
The name this node has in the page navigation.
find
Find nodes in this subtree. This is a very basic version. It returns the node if the search path is empty and undef in all other cases.
Contenticious::Content, Contenticious::Content::Node::File, Contenticious::Content::Node::Directory, 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.