PPI::Structure::Subscript(3pm)

PPI::Structure::Subscript3pm

Braces that represent an array or hash subscript

Usage

  # The end braces for all of the following are subscripts
  $foo->[...]
  $foo[...]
  $foo{...}[...]
  $foo->{...}
  $foo{...}
  $foo[]{...}

Inheritance

  PPI::Structure::Subscript
  isa PPI::Structure
      isa PPI::Node
          isa PPI::Element

Overview

"PPI::Structure::Subscript" is the class used for square and curly braces that specify one element of an array or hash (or a slice/subset of an array or hash)

Methods

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

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.