Rechercher une page de manuel
Acme::PlayCode::Plugin::DoubleToSingle.3pm
Langue: en
Version: 2010-05-25 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
NAME
Acme::PlayCode::Plugin::DoubleToSingle - Play code with Single and DoubleSYNOPSIS
use Acme::PlayCode; my $app = new Acme::PlayCode; $app->load_plugin('DoubleToSingle'); 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
my $a = "a"; my $b = "'b'"; my $c = qq~c~; my $d = qq~'d'~; my $e = q{e}; my $f = 'f'; if ( $a eq "a" ) { print "ok"; }
becomes
my $a = 'a'; my $b = q~'b'~; my $c = 'c'; my $d = qq~'d'~; my $e = q{e}; my $f = 'f'; if ( $a eq 'a' ) { print 'ok'; }
SEE ALSO
Acme::PlayCode, Moose, PPI, MooseX::Object::PluggableAUTHOR
Fayland Lam, "<fayland at gmail.com>"COPYRIGHT & LICENSE
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.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre