Changeset 5951 for trunk/Locale-Msgfmt


Ignore:
Timestamp:
07/08/09 17:22:07 (3 years ago)
Author:
ryan52
Message:

tidy

Location:
trunk/Locale-Msgfmt/lib/Locale
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Locale-Msgfmt/lib/Locale/Msgfmt.pm

    r5950 r5951  
    5656        } 
    5757    } 
    58         unless($hash->{force}) { 
    59           return if(-f $hash->{out} && Locale::Msgfmt::Utils::mtime($hash->{out}) >= Locale::Msgfmt::Utils::mtime($hash->{in})); 
    60         } 
     58    unless ( $hash->{force} ) { 
     59        return 
     60            if ( -f $hash->{out} 
     61            && Locale::Msgfmt::Utils::mtime( $hash->{out} ) >= Locale::Msgfmt::Utils::mtime( $hash->{in} ) ); 
     62    } 
    6163    my $mo = Locale::Msgfmt::mo->new(); 
    6264    $mo->initialize(); 
  • trunk/Locale-Msgfmt/lib/Locale/Msgfmt/Utils.pm

    r5950 r5951  
    5555 
    5656sub mtime { 
    57   return @{[stat(shift)]}[9]; 
     57    return @{ [ stat(shift) ] }[9]; 
    5858} 
    5959 
  • trunk/Locale-Msgfmt/lib/Locale/Msgfmt/po.pm

    r5950 r5951  
    9090            } 
    9191        } else { 
    92             die("unknown line: " . $_); 
     92            die( "unknown line: " . $_ ); 
    9393        } 
    9494    } 
Note: See TracChangeset for help on using the changeset viewer.