Changeset 12394


Ignore:
Timestamp:
08/29/10 11:36:20 (18 months ago)
Author:
chorny
Message:

perltidy on my changes

Location:
trunk/Padre/lib/Padre
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/lib/Padre/Constant.pm

    r12392 r12394  
    66use strict; 
    77use warnings; 
    8 use Carp          (); 
    9 use File::Path    (); 
    10 use File::Spec    (); 
     8use Carp       (); 
     9use File::Path (); 
     10use File::Spec (); 
    1111use File::HomeDir 0.91 (); 
    1212 
     
    142142# NOTE: The only reason this is here is that it is needed both during 
    143143# main configuration, and also during Padre::Startup. 
    144 use constant DEFAULT_SINGLEINSTANCE => ( 
    145     WIN32 and not( $ENV{HARNESS_ACTIVE} or $^P ) 
    146 ) ? 1 : 0; 
     144use constant DEFAULT_SINGLEINSTANCE => ( WIN32 and not( $ENV{HARNESS_ACTIVE} or $^P ) ) ? 1 : 0; 
    147145 
    148146# It would be better if we had fully dynamic collision awareness support, 
     
    151149# of Padre use different ports, so they don't collide with each other. 
    152150use constant DEFAULT_SINGLEINSTANCE_PORT => ( 
    153     $ENV{PADRE_DEV}      ? 4446 : 
    154     $ENV{HARNESS_ACTIVE} ? 4445 : 
    155     4444 
     151      $ENV{PADRE_DEV}      ? 4446 
     152    : $ENV{HARNESS_ACTIVE} ? 4445 
     153    : 4444 
    156154); 
    157155 
  • trunk/Padre/lib/Padre/Document/Perl.pm

    r12344 r12394  
    738738                    my @subs = $lines =~ /sub\s+(\w+)/g; 
    739739                    if ( $lines =~ /use MooseX::Declare;/ ) { 
    740                         push @subs, ($lines =~ /\bmethod\s+(\w+)/g); 
     740                        push @subs, ( $lines =~ /\bmethod\s+(\w+)/g ); 
    741741                    } 
    742742 
  • trunk/Padre/lib/Padre/Locale.pm

    r12319 r12394  
    486486 
    487487use constant system_rfc4646 => List::Util::first { 
    488     defined $RFC4646{$_}->{wxid} && 
    489     $RFC4646{$_}->{wxid} == WX; 
    490 } sort keys %RFC4646; 
     488    defined $RFC4646{$_}->{wxid} 
     489        && $RFC4646{$_}->{wxid} == WX; 
     490} 
     491sort keys %RFC4646; 
    491492 
    492493use constant last_resort_rfc4646 => 'en-gb'; 
Note: See TracChangeset for help on using the changeset viewer.