Acme::PlayCode - Code transforming to avoid typical typing mistakes


Acme-PlayCode documentation  | view source Contained in the Acme-PlayCode distribution.

Index


NAME

Top

Acme::PlayCode - Code transforming to avoid typical typing mistakes

SYNOPSIS

Top

    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

ALPHA WARNING

Top

Acme::PlayCode is still in its infancy. No fundamental changes are expected, but nevertheless backwards compatibility is not yet guaranteed.

DESCRIPTION

Top

It aims to change the code to be better (to be worse if you want).

More description and API detais will come later.

PLUGINS

Top

Acme::PlayCode::Plugin::Averything

load all plugins we found.

Acme::PlayCode::Plugin::DoubleToSingle

Play code with Single and Double

Acme::PlayCode::Plugin::ExchangeCondition

Play code with exchanging condition

Acme::PlayCode::Plugin::PrintComma

Play code with printing comma

Acme::PlayCode::Plugin::NumberPlus

Play code with plus number

SEE ALSO

Top

Moose, PPI, MooseX::Object::Pluggable

AUTHOR

Top

Fayland Lam, <fayland at gmail.com>

ACKNOWLEDGEMENTS

Top

The Moose Team.

Jens Rehsack, for the description (RT 53680)

COPYRIGHT & LICENSE

Top


Acme-PlayCode documentation  | view source Contained in the Acme-PlayCode distribution.