1PPI::Token::End(3)    User Contributed Perl Documentation   PPI::Token::End(3)
2
3
4

NAME

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

INHERITANCE

9         PPI::Token::End
10         isa PPI::Token
11                 isa PPI::Element
12

DESCRIPTION

14       If you've read PPI::Token::Whitespace, you should understand by now the
15       concept of documents "floating in a sea of PPI::Token::Whitespace".
16
17       Well it doesn't after the __END__ tag.
18
19       Once you __END__, it's all over. Anything after that tag isn't even fit
20       to be called whitespace. It just simply doesn't exist as far as perl
21       (the interpreter) is concerned.
22
23       That's not to say there isn't useful content. Most often people use the
24       __END__ tag to hide POD content, so that perl never has to see it, and
25       presumably providing some small speed up.
26
27       That's fine. PPI likes POD. Any POD after the __END__ tag is parsed
28       into valid PPI::Token::Pod tags as normal. This class, on the other
29       hand, is for "what's after __END__ when it isn't POD".
30
31       Basically, the completely worthless bits of the file :)
32

METHODS

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

SUPPORT

38       See the support section in the main module.
39

AUTHOR

41       Adam Kennedy <adamk@cpan.org>
42
44       Copyright 2001 - 2011 Adam Kennedy.
45
46       This program is free software; you can redistribute it and/or modify it
47       under the same terms as Perl itself.
48
49       The full text of the license can be found in the LICENSE file included
50       with this module.
51
52
53
54perl v5.38.0                      2023-09-22                PPI::Token::End(3)
Impressum