1PFT::Content::Blob(3) User Contributed Perl DocumentationPFT::Content::Blob(3)
2
3
4

NAME

6       PFT::Content::Blob - Binary file
7

SYNOPSIS

9           use PFT::Content::Blob;
10
11           my $p = PFT::Content::Blob->new({
12               tree    => $tree,
13               path    => $path,
14               relpath => ['animals', 'cats', 'meow.png'], # decoded strings
15           })
16

DESCRIPTION

18       "PFT::Content::Blob" is the basetype for all binary-based content
19       files.  It inherits from "PFT::Content::File" and has two specific
20       subtypes: "PFT::Content::Picture" and "PFT::Content::Attachment".
21
22   Properties
23       relpath
24           Relative path in form of a list.
25
26           A good use for it could be, concatenating it using
27           File::Spec->catfile.
28
29
30
31perl v5.34.0                      2021-07-22             PFT::Content::Blob(3)
Impressum