1Acme::PlayCode::Plugin:U:sPerrinCtoCnotmrmiab(u3t)ed PerAlcmDeo:c:uPmleanytCaotdieo:n:Plugin::PrintComma(3)
2
3
4
6 Acme::PlayCode::Plugin::PrintComma - Play code with printing comma
7
9 use Acme::PlayCode;
10
11 my $app = new Acme::PlayCode;
12
13 $app->load_plugin('PrintComma');
14
15 my $played_code = $app->play( $code );
16 # or
17 my $played_code = $app->play( $filename );
18 # or
19 $app->play( $filename, { rewrite_file => 1 } ); # override $filename with played code
20
22 print "a " . "print 'a' . 'b'" . "c\n";
23
24 becomes
25
26 print "a ", "print 'a' . 'b'", "c\n";
27
29 Acme::PlayCode, Moose, PPI, MooseX::Object::Pluggable
30
32 Fayland Lam, "<fayland at gmail.com>"
33
35 Copyright 2008 Fayland Lam, all rights reserved.
36
37 This program is free software; you can redistribute it and/or modify it
38 under the same terms as Perl itself.
39
40
41
42perl v5.30.1 2020-01-A2c9me::PlayCode::Plugin::PrintComma(3)