PPI::Statement::Given(3pm)

PPI::Statement::Given3pm

A given-when statement

Usage

  given ( foo ) {
      say $_;
  }

Inheritance

  PPI::Statement::Given
  isa PPI::Statement
      isa PPI::Node
          isa PPI::Element

Overview

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

Methods

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

To do

- Write unit tests for this package

Support

See the support section in the main module.

Releases

9 releases since Debian 6.0 (Squeeze); the text changed 8 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13
  9. 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.