1Acme::PlayCode(3) User Contributed Perl Documentation Acme::PlayCode(3)
2
3
4
6 Acme::PlayCode - Code transforming to avoid typical typing mistakes
7
9 use Acme::PlayCode;
10
11 my $app = new Acme::PlayCode;
12
13 $app->load_plugin('DoubleToSingle');
14 $app->load_plugin('ExchangeCondition');
15
16 my $played_code = $app->play( $code );
17 # or
18 my $played_code = $app->play( $filename );
19 # or
20 $app->play( $filename, { rewrite_file => 1 } ); # override $filename with played code
21
23 Acme::PlayCode is still in its infancy. No fundamental changes are
24 expected, but nevertheless backwards compatibility is not yet
25 guaranteed.
26
28 It aims to change the code to be better (to be worse if you want).
29
30 More description and API detais will come later.
31
33 Acme::PlayCode::Plugin::Averything
34 load all plugins we found.
35
36 Acme::PlayCode::Plugin::DoubleToSingle
37 Play code with Single and Double
38
39 Acme::PlayCode::Plugin::ExchangeCondition
40 Play code with exchanging condition
41
42 Acme::PlayCode::Plugin::PrintComma
43 Play code with printing comma
44
45 Acme::PlayCode::Plugin::NumberPlus
46 Play code with plus number
47
49 Moose, PPI, MooseX::Object::Pluggable
50
52 Fayland Lam, "<fayland at gmail.com>"
53
55 The Moose Team.
56
57 Jens Rehsack, for the description (RT 53680)
58
60 Copyright 2008 Fayland Lam, all rights reserved.
61
62 This program is free software; you can redistribute it and/or modify it
63 under the same terms as Perl itself.
64
65
66
67perl v5.32.0 2020-07-28 Acme::PlayCode(3)