PPI::Statement::Data(3pm)

PPI::Statement::Data3pm

The __data__ section of a file

Usage

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

Inheritance

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

Overview

"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.

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.

To do

- Add the methods to read in the data

- Add some proper unit testing

Support

See the support section in the main module.

Releases

11 releases since Debian 4.0 (Etch); the text changed 10 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11
  9. 12
  10. 13
  11. Arch

Author

Adam Kennedy <[email protected]>

From perl-ppi 1.291-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.