1 package PPI::Statement::Data;
7 PPI::Statement::Data - The __DATA__ section of a file
17 PPI::Statement::Data: object
21 PPI::Statement::Compound
28 C<PPI::Statement::Data> is a utility class designed to hold content in
29 the __DATA__ section of a file. It provides a single statement to hold
34 C<PPI::Statement::Data> has no additional methods beyond the default ones
35 provided by L<PPI::Statement>, L<PPI::Node> and L<PPI::Element>.
37 However, it is expected to gain methods for accessing the data directly,
38 (as a filehandle for example) just as you would access the data in the
44 use PPI::Statement ();
46 use vars qw{$VERSION @ISA};
49 @ISA = 'PPI::Statement';
52 # Data is never complete
53 sub _complete () { '' }
61 - Add the methods to read in the data
63 - Add some proper unit testing
67 See the L<support section|PPI/SUPPORT> in the main module.
71 Adam Kennedy E<lt>adamk@cpan.orgE<gt>
75 Copyright 2001 - 2009 Adam Kennedy.
77 This program is free software; you can redistribute
78 it and/or modify it under the same terms as Perl itself.
80 The full text of the license can be found in the
81 LICENSE file included with this module.