1PFT::Content::Base(3) User Contributed Perl DocumentationPFT::Content::Base(3)
23
4
NAME
6PFT::Content::Base - Base class for content
7
SYNOPSIS
9use parent 'PFT::Content::Base'
1011
sub new {
12my $cls = shift;
13...
14$cls->SUPER::new({
15tree => $tree,
16name => $name,
17})
18...
19}
20
DESCRIPTION
22This class is a common base for for all "PFT::Content::*" classes.
2324
Properties
25tree
26Path object
2728
name
29Name of the object
3031
32
33
perl v5.36.0 2023-01-20 PFT::Content::Base(3)