Changes between Version 9 and Version 10 of PadrePluginFix
- Timestamp:
- 03/21/12 13:31:16 (15 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PadrePluginFix
v9 v10 4 4 Uses PPI to identify and transform stuff from form A to B. 5 5 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 9 if(defined $fh) { 10 print "File is open"; 11 } 12 }}} 13 14 Should become 15 16 {{{#!perl 17 print "File is open" if defined $fh; 18 }}} 19 8 20 * Transform qq{string} where string does not contain escape sequences into q{string} or 'string' 9 21 * if {{{use v5.10;}}} or greater is used, then {{{print "something\n"}}} can be transformed into {{{say "something"}}}
