1 package PPI::Statement::Null;
7 PPI::Statement::Null - A useless null statement
13 ; # <-- Null statement
26 C<PPI::Statement::Null> is a utility class designed to handle situations
27 where PPI encounters a naked statement separator.
29 Although strictly speaking, the semicolon is a statement B<separator>
30 and not a statement B<terminator>, PPI considers a semicolon to be a
31 statement terminator under most circumstances.
33 In any case, the null statement has no purpose, and can be safely deleted
38 C<PPI::Statement::Null> has no additional methods beyond the default ones
39 provided by L<PPI::Statement>, L<PPI::Node> and L<PPI::Element>.
44 use PPI::Statement ();
46 use vars qw{$VERSION @ISA};
49 @ISA = 'PPI::Statement';
52 # A null statement is not significant
53 sub significant { '' }
61 See the L<support section|PPI/SUPPORT> in the main module.
65 Adam Kennedy E<lt>adamk@cpan.orgE<gt>
69 Copyright 2001 - 2009 Adam Kennedy.
71 This program is free software; you can redistribute
72 it and/or modify it under the same terms as Perl itself.
74 The full text of the license can be found in the
75 LICENSE file included with this module.