PPI::Token::Separator - The __DATA__ and __END__ tags


PPI::Token::Separator - The __DATA__ and __END__ tags


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


Although superficially looking like a normal the PPI::Token::Word manpage 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__).


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


See the support section in the main module.


Adam Kennedy <adamk@cpan.org>


Copyright 2001 - 2006 Adam Kennedy.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

 PPI::Token::Separator - The __DATA__ and __END__ tags