Changes between Version 9 and Version 10 of PadrePluginFix


Ignore:
Timestamp:
Mar 21, 2012, 1:31:16 PM (3 years ago)
Author:
azawawi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PadrePluginFix

    v9 v10  
    44Uses PPI to identify and transform stuff from form A to B. 
    55 
    6 * Transform if(expr) { ... } into ... if expr 
    7 * Transform ... if expr into if(expr) { ... } 
     6* Transform if single statement into postfix form and vice versa: 
     7 
     8{{{#!perl 
     9if(defined $fh) { 
     10  print "File is open"; 
     11}  
     12}}} 
     13 
     14  Should become 
     15 
     16{{{#!perl 
     17print "File is open" if defined $fh; 
     18}}} 
     19 
    820* Transform qq{string} where string does not contain escape sequences into q{string} or 'string' 
    921* if {{{use v5.10;}}} or greater is used, then {{{print "something\n"}}} can be transformed into {{{say "something"}}}