logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

PPI::Statement::Data - The __DATA__ section of a file

Author

       Adam Kennedy <adamk@cpan.org>

Description

       "PPI::Statement::Data" is a utility class designed to hold content in the __DATA__ section of a file. It
       provides a single statement to hold all of the data.

Inheritance

         PPI::Statement::Compound
         isa PPI::Statement
             isa PPI::Node
                 isa PPI::Element

Methods

       "PPI::Statement::Data" has no additional methods beyond the default ones provided by PPI::Statement,
       PPI::Node and PPI::Element.

       However, it is expected to gain methods for accessing the data directly, (as a filehandle for example)
       just as you would access the data in the Perl code itself.

Name

       PPI::Statement::Data - The __DATA__ section of a file

Support

       See the support section in the main module.

Synopsis

         # Normal content

         __DATA__
         This: data
         is: part
         of: the
         PPI::Statement::Data: object

To Do

       - Add the methods to read in the data

       - Add some proper unit testing

See Also