PPI::Statement::Null(3pm)

PPI::Statement::Null3pm

A useless null statement

Usage

  my $foo = 1;
  
  ; # <-- Null statement
  
  my $bar = 1;

Inheritance

  PPI::Statement::Null
  isa PPI::Statement
      isa PPI::Node
          isa PPI::Element

Overview

"PPI::Statement::Null" is a utility class designed to handle situations where PPI encounters a naked statement separator.

Although strictly speaking, the semicolon is a statement separator and not a statement terminator, PPI considers a semicolon to be a statement terminator under most circumstances.

In any case, the null statement has no purpose, and can be safely deleted with no ill effect.

Methods

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

Support

See the support section in the main module.

Releases

11 releases since Debian 4.0 (Etch); the text changed 10 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11
  9. 12
  10. 13
  11. Arch

Author

Adam Kennedy <[email protected]>

From perl-ppi 1.291-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.