Ignore:
Timestamp:
03/15/10 04:51:54 (2 years ago)
Author:
azawawi
Message:

Perl tidy (25 files)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/lib/Padre/Action/Tools.pm

    r11108 r11120  
    253253    # Find 'cpanm', used to install modules 
    254254    require Config; 
    255     my %seen  = (); 
    256     my @where = grep { 
    257         defined $_ and length $_ and not $seen{$_}++ 
    258     } map { 
    259         $Config::Config{$_} 
    260     } qw{ 
     255    my %seen = (); 
     256    my @where = grep { defined $_ and length $_ and not $seen{$_}++ } map { $Config::Config{$_} } qw{ 
    261257        sitescriptexp 
    262258        sitebinexp 
     
    267263    }; 
    268264    my $cpanm = ''; 
    269     foreach my $dir ( @where ) { 
     265 
     266    foreach my $dir (@where) { 
    270267        my $path = File::Spec->catfile( $dir, 'cpanm' ); 
    271268        if ( -f $path ) { 
     
    274271        } 
    275272    } 
    276     unless ( $cpanm ) { 
     273    unless ($cpanm) { 
    277274        $main->error( Wx::gettext("cpanm is unexpectedly not installed") ); 
    278275        return; 
Note: See TracChangeset for help on using the changeset viewer.