PPI::PowerToys - A handy collection of small PPI-based utilities
The PPI PowerToys are a small collection of utilities for working with Perl files, modules and distributions.
To kick off the collection, he's added a very simple and raw version of one of his own little tools.
> ppi_version show > ppi_version change 0.01 0.02
ppi_version is a utility for working with version numbers in groups of modules.
The ppi_version show command will scan through your distribution (starting in the current directory and working down) and locate all the versions for the various Perl files in the distribution.
ppi_version show
It scans through all files inside the current directory with one-only instance of the line.
$VERSION = '0.01';
The ppi_version change command scans through your distribution (starting in the current directory and working down) and locate all cases where the $VERSION is the first param, replacing it (safely) with the second params.
ppi_version change
$VERSION
- Add extra commands to ppi_version
- Include more useful utilities
- Any improvements to the current utilities are also very welcome.
Bugs and patches should be reported via the CPAN bug tracker at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=PPI-PowerToys
For other issues, contact the author.
Adam Kennedy <adamk@cpan.org>
Copyright 2006 - 2009 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
To install PPI::PowerToys, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PPI::PowerToys
CPAN shell
perl -MCPAN -e shell install PPI::PowerToys
For more information on module installation, please visit the detailed CPAN module installation guide.