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


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

Index


NAME

Top

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

SYNOPSIS

Top

    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

DESCRIPTION

Top

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

becomes

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

SEE ALSO

Top

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

AUTHOR

Top

Fayland Lam, <fayland at gmail.com>

COPYRIGHT & LICENSE

Top


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