1PPI::Structure::Block(3U)ser Contributed Perl DocumentatiPoPnI::Structure::Block(3)
2
3
4
6 PPI::Structure::Block - Curly braces representing a code block
7
9 sub foo { ... }
10
11 grep { ... } @list;
12
13 if ( condition ) {
14 ...
15 }
16
17 LABEL: {
18 ...
19 }
20
22 PPI::Structure::Block
23 isa PPI::Structure
24 isa PPI::Node
25 isa PPI::Element
26
28 "PPI::Structure::Block" is the class used for all curly braces that
29 represent code blocks. This includes subroutines, compound statements
30 and any other block braces.
31
33 "PPI::Structure::Block" has no methods beyond those provided by the
34 standard PPI::Structure, PPI::Node and PPI::Element methods.
35
37 See the support section in the main module.
38
40 Adam Kennedy <adamk@cpan.org>
41
43 Copyright 2001 - 2011 Adam Kennedy.
44
45 This program is free software; you can redistribute it and/or modify it
46 under the same terms as Perl itself.
47
48 The full text of the license can be found in the LICENSE file included
49 with this module.
50
51
52
53perl v5.34.0 2021-07-22 PPI::Structure::Block(3)