1PPI::Statement::Data(3)User Contributed Perl DocumentatioPnPI::Statement::Data(3)
2
3
4
6 PPI::Statement::Data - The __DATA__ section of a file
7
9 # Normal content
10
11 __DATA__
12 This: data
13 is: part
14 of: the
15 PPI::Statement::Data: object
16
18 PPI::Statement::Compound
19 isa PPI::Statement
20 isa PPI::Node
21 isa PPI::Element
22
24 "PPI::Statement::Data" is a utility class designed to hold content in
25 the __DATA__ section of a file. It provides a single statement to hold
26 all of the data.
27
29 "PPI::Statement::Data" has no additional methods beyond the default
30 ones provided by PPI::Statement, PPI::Node and PPI::Element.
31
32 However, it is expected to gain methods for accessing the data
33 directly, (as a filehandle for example) just as you would access the
34 data in the Perl code itself.
35
37 - Add the methods to read in the data
38
39 - Add some proper unit testing
40
42 See the support section in the main module.
43
45 Adam Kennedy <adamk@cpan.org>
46
48 Copyright 2001 - 2011 Adam Kennedy.
49
50 This program is free software; you can redistribute it and/or modify it
51 under the same terms as Perl itself.
52
53 The full text of the license can be found in the LICENSE file included
54 with this module.
55
56
57
58perl v5.36.0 2023-01-20 PPI::Statement::Data(3)