Add built local::lib
[catagits/Gitalist.git] / local-lib5 / lib / perl5 / PPI / Structure / Block.pm
1 package PPI::Structure::Block;
2
3 =pod
4
5 =head1 NAME
6
7 PPI::Structure::Block - Curly braces representing a code block
8
9 =head1 SYNOPSIS
10
11   sub foo { ... }
12   
13   grep { ... } @list;
14   
15   if ( condition ) {
16       ...
17   }
18   
19   LABEL: {
20       ...
21   }
22
23 =head1 INHERITANCE
24
25   PPI::Structure::Block
26   isa PPI::Structure
27       isa PPI::Node
28           isa PPI::Element
29
30 =head1 DESCRIPTION
31
32 C<PPI::Structure::Block> is the class used for all curly braces that
33 represent code blocks. This includes subroutines, compound statements
34 and any other block braces.
35
36 =head1 METHODS
37
38 C<PPI::Structure::Block> has no methods beyond those provided by the
39 standard L<PPI::Structure>, L<PPI::Node> and L<PPI::Element> methods.
40
41 Got any ideas for methods? Submit a report to rt.cpan.org!
42
43 =cut
44
45 use strict;
46 use PPI::Structure ();
47
48 use vars qw{$VERSION @ISA};
49 BEGIN {
50         $VERSION = '1.206';
51         @ISA     = 'PPI::Structure';
52 }
53
54
55
56
57
58 #####################################################################
59 # PPI::Element Methods
60
61 # This is a scope boundary
62 sub scope { 1 }
63
64 1;
65
66 =pod
67
68 =head1 SUPPORT
69
70 See the L<support section|PPI/SUPPORT> in the main module.
71
72 =head1 AUTHOR
73
74 Adam Kennedy E<lt>adamk@cpan.orgE<gt>
75
76 =head1 COPYRIGHT
77
78 Copyright 2001 - 2009 Adam Kennedy.
79
80 This program is free software; you can redistribute
81 it and/or modify it under the same terms as Perl itself.
82
83 The full text of the license can be found in the
84 LICENSE file included with this module.
85
86 =cut