The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

PFT::Tree - Filesystem tree mapping a PFT site

SYNOPSIS

    PFT::Tree->new();
    PFT::Tree->new($basedir);
    PFT::Tree->new($basedir, {create => 1});

DESCRIPTION

The structure is the following:

    ├── build
    ├── content
    │   └── ...
    ├── inject
    ├── pft.yaml
    └── templates

Where:

content is a directory is handled with a PFT::Content instance.
pft.yaml is a configuration file handled with PFT::Conf
The remaining directories are just created, but the content is not handled by the PFT::Tree structure.

Properties

dir_content
content

Returns a PFT::Content object, abstracting the access to the content directory.

map

Returns a PFT::Map object, abstracting the the content graph.

conf

Returns a PFT::Conf object, abstracting the configuration file.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 108:

You forgot a '=back' before '=head2'