1PPI::Token::Separator(3U)ser Contributed Perl DocumentatiPoPnI::Token::Separator(3)
2
3
4

NAME

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

INHERITANCE

9         PPI::Token::Separator
10         isa PPI::Token::Word
11             isa PPI::Token
12                 isa PPI::Element
13

DESCRIPTION

15       Although superficially looking like a normal PPI::Token::Word object,
16       when the "__DATA__" and "__END__" compiler tags appear at the beginning
17       of a line (on supposedly) their own line, these tags become file
18       section separators.
19
20       The indicate that the time for Perl code is over, and the rest of the
21       file is dedicated to something else (data in the case of "__DATA__") or
22       to nothing at all (in the case of "__END__").
23

METHODS

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

SUPPORT

29       See the support section in the main module.
30

AUTHOR

32       Adam Kennedy <adamk@cpan.org>
33
35       Copyright 2001 - 2011 Adam Kennedy.
36
37       This program is free software; you can redistribute it and/or modify it
38       under the same terms as Perl itself.
39
40       The full text of the license can be found in the LICENSE file included
41       with this module.
42
43
44
45perl v5.36.0                      2022-07-22          PPI::Token::Separator(3)
Impressum