PPIx::Utils(3pm)

PPIx::Utils3pm

Utility functions for ppi

Usage

    use PPIx::Utils qw(:classification :language :traversal);

Overview

"PPIx::Utils" is a collection of utility functions for working with PPI documents. The functions are organized into submodules, and may be imported from the appropriate submodule or via this module.

These functions were originally from Perl::Critic::Utils and related modules, and have been split off to this distribution for use outside of Perl::Critic.

Modules

The import tag ":all" will import the functions from all modules listed below.

PPIx::Utils::Classification

Functions related to classification of PPI elements. All functions from this module can be imported with the import tag ":classification".

PPIx::Utils::Language

Functions related to the Perl language. All functions from this module can be imported with the import tag ":language".

PPIx::Utils::Traversal

Functions related to traversal of PPI documents. All functions from this module can be imported with the import tag ":traversal".

Releases

3 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12–13
  2. Arch

Bugs

Report any issues on the public bugtracker.

Author

Dan Book <[email protected]>

Code originally from Perl::Critic::Utils by Jeffrey Ryan Thalhammer <[email protected]>, Perl::Critic::Utils::PPI + Perl::Critic::Utils::Perl + PPIx::Utilities::Node by Elliot Shank <[email protected]>, and PPIx::Utilities::Statement by Thomas R. Wyant, III <[email protected]>

From perl-ppix-utils 0.004-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.