Acme::PlayCode - Code transforming to avoid typical typing mistakes
use Acme::PlayCode; my $app = new Acme::PlayCode; $app->load_plugin('DoubleToSingle'); $app->load_plugin('ExchangeCondition'); my $played_code = $app->play( $code ); # or my $played_code = $app->play( $filename ); # or $app->play( $filename, { rewrite_file => 1 } ); # override $filename with played code
Acme::PlayCode is still in its infancy. No fundamental changes are expected, but nevertheless backwards compatibility is not yet guaranteed.
It aims to change the code to be better (to be worse if you want).
More description and API detais will come later.
load all plugins we found.
Play code with Single and Double
Play code with exchanging condition
Play code with printing comma
Play code with plus number
Moose, PPI, MooseX::Object::Pluggable
Fayland Lam, <fayland at gmail.com>
<fayland at gmail.com>
The Moose Team.
Jens Rehsack, for the description (RT 53680)
Copyright 2008 Fayland Lam, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Acme::PlayCode, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Acme::PlayCode
CPAN shell
perl -MCPAN -e shell install Acme::PlayCode
For more information on module installation, please visit the detailed CPAN module installation guide.