PFT::Content::Blob(3)

NAME
PFT::Content::Blob - Binary file

SYNOPSIS
    use PFT::Content::Blob;

    my $p = PFT::Content::Blob->new({
        tree    => $tree,
        path    => $path,
        relpath => ['animals', 'cats', 'meow.png'], # decoded strings
    })

DESCRIPTION
"PFT::Content::Blob" is the basetype for all binary-based content files. It inherits from "PFT::Content::File" and has two specific subtypes: "PFT::Content::Picture" and "PFT::Content::Attachment".

  Properties

relpath
    Relative path in form of a list.

    A good use for it could be, concatenating it using File::Spec->catfile.