PPI::Token::Separator(3pm)

PPI::Token::Separator3pm

The __data__ and __end__ tags

Inheritance

  PPI::Token::Separator
  isa PPI::Token::Word
      isa PPI::Token
          isa PPI::Element

Overview

Although superficially looking like a normal PPI::Token::Word object, when the "__DATA__" and "__END__" compiler tags appear at the beginning of a line (on supposedly) their own line, these tags become file section separators.

The indicate that the time for Perl code is over, and the rest of the file is dedicated to something else (data in the case of "__DATA__") or to nothing at all (in the case of "__END__").

Methods

This class has no methods beyond what is provided by its PPI::Token::Word, PPI::Token and PPI::Element parent classes.

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.