PPI::Token::Cast(3pm)

PPI::Token::Cast3pm

A prefix which forces a value into a different context

Inheritance

  PPI::Token::Cast
  isa PPI::Token
      isa PPI::Element

Overview

A "cast" in PPI terms is one of more characters used as a prefix which force a value into a different class or context.

This includes referencing, dereferencing, and a few other minor cases.

For expressions such as @$foo or "@{ $foo{bar} }" the "@" in both cases represents a cast. In this case, an array dereference.

Methods

There are no additional methods beyond those provided by the parent PPI::Token and PPI::Element classes.

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.