1PPI::Statement::Given(3U)ser Contributed Perl DocumentatiPoPnI::Statement::Given(3)
2
3
4

NAME

6       PPI::Statement::Given - A given-when statement
7

SYNOPSIS

9         given ( foo ) {
10             say $_;
11         }
12

INHERITANCE

14         PPI::Statement::Given
15         isa PPI::Statement
16             isa PPI::Node
17                 isa PPI::Element
18

DESCRIPTION

20       "PPI::Statement::Given" objects are used to describe switch statements,
21       as described in perlsyn.
22

METHODS

24       "PPI::Statement::Given" has no methods beyond those provided by the
25       standard PPI::Structure, PPI::Node and PPI::Element methods.
26

TO DO

28       - Write unit tests for this package
29

SUPPORT

31       See the support section in the main module.
32

AUTHOR

34       Adam Kennedy <adamk@cpan.org>
35
37       Copyright 2001 - 2011 Adam Kennedy.
38
39       This program is free software; you can redistribute it and/or modify it
40       under the same terms as Perl itself.
41
42       The full text of the license can be found in the LICENSE file included
43       with this module.
44
45
46
47perl v5.28.0                      2017-06-22          PPI::Statement::Given(3)
Impressum