1PPI::Statement::Null(3)User Contributed Perl DocumentatioPnPI::Statement::Null(3)
2
3
4

NAME

6       PPI::Statement::Null - A useless null statement
7

SYNOPSIS

9         my $foo = 1;
10
11         ; # <-- Null statement
12
13         my $bar = 1;
14

INHERITANCE

16         PPI::Statement::Null
17         isa PPI::Statement
18             isa PPI::Node
19                 isa PPI::Element
20

DESCRIPTION

22       "PPI::Statement::Null" is a utility class designed to handle situations
23       where PPI encounters a naked statement separator.
24
25       Although strictly speaking, the semicolon is a statement separator and
26       not a statement terminator, PPI considers a semicolon to be a statement
27       terminator under most circumstances.
28
29       In any case, the null statement has no purpose, and can be safely
30       deleted with no ill effect.
31

METHODS

33       "PPI::Statement::Null" has no additional methods beyond the default
34       ones provided by PPI::Statement, PPI::Node and PPI::Element.
35

SUPPORT

37       See the support section in the main module.
38

AUTHOR

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.36.0                      2023-01-20           PPI::Statement::Null(3)
Impressum