1PPI::Token::Label(3) User Contributed Perl Documentation PPI::Token::Label(3)
2
3
4
6 PPI::Token::Label - Token class for a statement label
7
9 PPI::Token::Label
10 isa PPI::Token
11 isa PPI::Element
12
14 A label is an identifier attached to a line or statements, to allow for
15 various types of flow control. For example, a loop might have a label
16 attached so that a "last" or "next" flow control statement can be used
17 from multiple levels below to reference the loop directly.
18
20 There are no additional methods beyond those provided by the parent
21 PPI::Token and PPI::Element classes.
22
24 See the support section in the main module.
25
27 Adam Kennedy <adamk@cpan.org>
28
30 Copyright 2001 - 2011 Adam Kennedy.
31
32 This program is free software; you can redistribute it and/or modify it
33 under the same terms as Perl itself.
34
35 The full text of the license can be found in the LICENSE file included
36 with this module.
37
38
39
40perl v5.28.1 2017-06-22 PPI::Token::Label(3)