PPI::Token::End - Completely useless content after the __END__ tag


PPI::Token::End - Completely useless content after the __END__ tag


  isa PPI::Token
          isa PPI::Element


If you've read the PPI::Token::Whitespace manpage, you should understand by now the concept of documents ``floating in a sea of PPI::Token::Whitespace''.

Well it doesn't after the __END__ tag.

Once you __END__, it's all over. Anything after that tag isn't even fit to be called whitespace. It just simply doesn't exist as far as perl (the interpreter) is concerned.

That's not to say there isn't useful content. Most often people use the __END__ tag to hide POD content, so that perl never has to see it, and presumably providing some small speed up.

That's fine. PPI likes POD. Any POD after the __END__ tag is parsed into valid the PPI::Token::Pod manpage tags as normal. This class, on the other hand, is for ``what's after __END__ when it isn't POD''.

Basically, the completely worthless bits of the file :)


This class has no method beyond what is provided by its 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::End - Completely useless content after the __END__ tag