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
23 Got any ideas for methods? Submit a report to rt.cpan.org!
24
26 See the support section in the main module.
27
29 Adam Kennedy <adamk@cpan.org>
30
32 Copyright 2001 - 2009 Adam Kennedy.
33
34 This program is free software; you can redistribute it and/or modify it
35 under the same terms as Perl itself.
36
37 The full text of the license can be found in the LICENSE file included
38 with this module.
39
40
41
42perl v5.10.1 2009-08-08 PPI::Token::Label(3)