
Acme::PlayCode::Plugin::PrintComma - Play code with printing comma

use Acme::PlayCode;
my $app = new Acme::PlayCode;
$app->load_plugin('PrintComma');
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

print "a " . "print 'a' . 'b'" . "c\n";
becomes
print "a ", "print 'a' . 'b'", "c\n";

Acme::PlayCode, Moose, PPI, MooseX::Object::Pluggable

Fayland Lam, <fayland at gmail.com>

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.