PPIx::Utils - Utility functions for PPI
use PPIx::Utils qw(:classification :language :traversal);
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.
The import tag :all will import the functions from all modules listed below.
Functions related to classification of PPI elements. All functions from this module can be imported with the import tag :classification.
Functions related to the Perl language. All functions from this module can be imported with the import tag :language.
Functions related to traversal of PPI documents. All functions from this module can be imported with the import tag :traversal.
Report any issues on the public bugtracker.
Dan Book <firstname.lastname@example.org>
Code originally from Perl::Critic::Utils by Jeffrey Ryan Thalhammer <email@example.com>, Perl::Critic::Utils::PPI + Perl::Critic::Utils::Perl + PPIx::Utilities::Node by Elliot Shank <firstname.lastname@example.org>, and PPIx::Utilities::Statement by Thomas R. Wyant, III <email@example.com>
This software is copyright (c) 2005-2011 Imaginative Software Systems, 2007-2011 Elliot Shank, 2009-2010 Thomas R. Wyant, III, 2017 Dan Book.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
PPI, Perl::Critic::Utils, PPIx::Utilities
To install PPIx::Utils, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.