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

NAME

6       PFT::Content::Base - Base class for content
7

SYNOPSIS

9           use parent 'PFT::Content::Base'
10
11           sub new {
12               my $cls = shift;
13               ...
14               $cls->SUPER::new({
15                   tree => $tree,
16                   name => $name,
17               })
18               ...
19           }
20

DESCRIPTION

22       This class is a common base for for all "PFT::Content::*" classes.
23
24   Properties
25       tree
26           Path object
27
28       name
29           Name of the object
30
31
32
33perl v5.36.0                      2023-01-20             PFT::Content::Base(3)
Impressum