1 package PPI::Token::Label;
7 PPI::Token::Label - Token class for a statement label
17 A label is an identifier attached to a line or statements, to allow for
18 various types of flow control. For example, a loop might have a label
19 attached so that a C<last> or C<next> flow control statement can be used
20 from multiple levels below to reference the loop directly.
24 There are no additional methods beyond those provided by the parent
25 L<PPI::Token> and L<PPI::Element> classes.
27 Got any ideas for methods? Submit a report to rt.cpan.org!
34 use vars qw{$VERSION @ISA};
46 See the L<support section|PPI/SUPPORT> in the main module.
50 Adam Kennedy E<lt>adamk@cpan.orgE<gt>
54 Copyright 2001 - 2009 Adam Kennedy.
56 This program is free software; you can redistribute
57 it and/or modify it under the same terms as Perl itself.
59 The full text of the license can be found in the
60 LICENSE file included with this module.