1PPI::Statement::Given(3U)ser Contributed Perl DocumentatiPoPnI::Statement::Given(3)
2
3
4
6 PPI::Statement::Given - Describes all compound statements
7
9 given ( foo ) {
10 say $_;
11 }
12
14 PPI::Statement::Given
15 isa PPI::Statement
16 isa PPI::Node
17 isa PPI::Element
18
20 "PPI::Statement::Given" objects are used to describe switch statements,
21 as described in perlsyn.
22
24 "PPI::Statement::Given" has no methods beyond those provided by the
25 standard PPI::Structure, PPI::Node and PPI::Element methods.
26
27 Got any ideas for methods? Submit a report to rt.cpan.org!
28
30 - Write unit tests for this package
31
33 See the support section in the main module.
34
36 Adam Kennedy <adamk@cpan.org>
37
39 Copyright 2001 - 2011 Adam Kennedy.
40
41 This program is free software; you can redistribute it and/or modify it
42 under the same terms as Perl itself.
43
44 The full text of the license can be found in the LICENSE file included
45 with this module.
46
47
48
49perl v5.12.3 2011-02-26 PPI::Statement::Given(3)