1PPI::Structure::Block(3U)ser Contributed Perl DocumentatiPoPnI::Structure::Block(3)
2
3
4

NAME

6       PPI::Structure::Block - Curly braces representing a code block
7

SYNOPSIS

9         sub foo { ... }
10
11         grep { ... } @list;
12
13         if ( condition ) {
14             ...
15         }
16
17         LABEL: {
18             ...
19         }
20

INHERITANCE

22         PPI::Structure::Block
23         isa PPI::Structure
24             isa PPI::Node
25                 isa PPI::Element
26

DESCRIPTION

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

METHODS

33       "PPI::Structure::Block" has no methods beyond those provided by the
34       standard PPI::Structure, PPI::Node and PPI::Element methods.
35
36       Got any ideas for methods? Submit a report to rt.cpan.org!
37

SUPPORT

39       See the support section in the main module.
40

AUTHOR

42       Adam Kennedy <adamk@cpan.org>
43
45       Copyright 2001 - 2009 Adam Kennedy.
46
47       This program is free software; you can redistribute it and/or modify it
48       under the same terms as Perl itself.
49
50       The full text of the license can be found in the LICENSE file included
51       with this module.
52
53
54
55perl v5.10.1                      2009-08-08          PPI::Structure::Block(3)
Impressum