PPI::PowerToys - A handy collection of small PPI-based utilities


PPI-PowerToys documentation Contained in the PPI-PowerToys distribution.

Index


Code Index:

NAME

Top

PPI::PowerToys - A handy collection of small PPI-based utilities

DESCRIPTION

Top

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

  > 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.

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.

TO DO

Top

- Add extra commands to ppi_version

- Include more useful utilities

- Any improvements to the current utilities are also very welcome.

SUPPORT

Top

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.

AUTHOR

Top

Adam Kennedy <adamk@cpan.org>

COPYRIGHT

Top


PPI-PowerToys documentation Contained in the PPI-PowerToys distribution.

package PPI::PowerToys;

use 5.006;
use strict;

use vars qw{$VERSION};
BEGIN {
        $VERSION = '0.14';
}

1;

__END__