Add built local::lib
[catagits/Gitalist.git] / local-lib5 / lib / perl5 / PPI / Token / Label.pm
1 package PPI::Token::Label;
2
3 =pod
4
5 =head1 NAME
6
7 PPI::Token::Label - Token class for a statement label
8
9 =head1 INHERITANCE
10
11   PPI::Token::Label
12   isa PPI::Token
13       isa PPI::Element
14
15 =head1 DESCRIPTION
16
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.
21
22 =head1 METHODS
23
24 There are no additional methods beyond those provided by the parent
25 L<PPI::Token> and L<PPI::Element> classes.
26
27 Got any ideas for methods? Submit a report to rt.cpan.org!
28
29 =cut
30
31 use strict;
32 use PPI::Token ();
33
34 use vars qw{$VERSION @ISA};
35 BEGIN {
36         $VERSION = '1.206';
37         @ISA     = 'PPI::Token';
38 }
39
40 1;
41
42 =pod
43
44 =head1 SUPPORT
45
46 See the L<support section|PPI/SUPPORT> in the main module.
47
48 =head1 AUTHOR
49
50 Adam Kennedy E<lt>adamk@cpan.orgE<gt>
51
52 =head1 COPYRIGHT
53
54 Copyright 2001 - 2009 Adam Kennedy.
55
56 This program is free software; you can redistribute
57 it and/or modify it under the same terms as Perl itself.
58
59 The full text of the license can be found in the
60 LICENSE file included with this module.
61
62 =cut