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.
PPIx::Utils
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.
:all
Functions related to classification of PPI elements. All functions from this module can be imported with the import tag :classification.
:classification
Functions related to the Perl language. All functions from this module can be imported with the import tag :language.
:language
Functions related to traversal of PPI documents. All functions from this module can be imported with the import tag :traversal.
:traversal
Report any issues on the public bugtracker.
Dan Book <dbook@cpan.org>
Code originally from Perl::Critic::Utils by Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>, Perl::Critic::Utils::PPI + Perl::Critic::Utils::Perl + PPIx::Utilities::Node by Elliot Shank <perl@galumph.com>, and PPIx::Utilities::Statement by Thomas R. Wyant, III <wyant@cpan.org>
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.
cpanm
cpanm PPIx::Utils
CPAN shell
perl -MCPAN -e shell install PPIx::Utils
For more information on module installation, please visit the detailed CPAN module installation guide.