1Acme::PlayCode::Plugin:U:sDeorubCloenTtorSiibnugtleedA(c3Pm)eer:l:PDloacyuCmoednet:a:tPiloungin::DoubleToSingle(3)
2
3
4

NAME

6       Acme::PlayCode::Plugin::DoubleToSingle - Play code with Single and
7       Double
8

SYNOPSIS

10           use Acme::PlayCode;
11
12           my $app = new Acme::PlayCode;
13
14           $app->load_plugin('DoubleToSingle');
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

DESCRIPTION

23           my $a = "a";
24           my $b = "'b'";
25           my $c = qq~c~;
26           my $d = qq~'d'~;
27           my $e = q{e};
28           my $f = 'f';
29           if ( $a eq "a" ) {
30               print "ok";
31           }
32
33       becomes
34
35           my $a = 'a';
36           my $b = q~'b'~;
37           my $c = 'c';
38           my $d = qq~'d'~;
39           my $e = q{e};
40           my $f = 'f';
41           if ( $a eq 'a' ) {
42               print 'ok';
43           }
44

SEE ALSO

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

AUTHOR

49       Fayland Lam, "<fayland at gmail.com>"
50
52       Copyright 2008 Fayland Lam, all rights reserved.
53
54       This program is free software; you can redistribute it and/or modify it
55       under the same terms as Perl itself.
56
57
58
59perl v5.30.0                      2019A-c0m7e-:2:6PlayCode::Plugin::DoubleToSingle(3)
Impressum