1PFT::Content::Blob(3) User Contributed Perl DocumentationPFT::Content::Blob(3)
2
3
4
6 PFT::Content::Blob - Binary file
7
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
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.30.0 2019-07-23 PFT::Content::Blob(3)