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::Token::End - Completely useless content after the __END__ tag

Author

       Adam Kennedy <adamk@cpan.org>

Description

       If you've read PPI::Token::Whitespace, 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 PPI::Token::Pod 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 :)

Inheritance

         PPI::Token::End
         isa PPI::Token
                 isa PPI::Element

Methods

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

Name

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

Support

       See the support section in the main module.

See Also