Changeset 2178


Ignore:
Timestamp:
12/23/08 09:41:22 (3 years ago)
Author:
azawawi
Message:

Source cleanup (tabs->spaces) in script/padre and improved 'use STD' optional startup message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/script/padre

    r2115 r2178  
    66$| = 1; 
    77 
    8 unless ( $^O eq 'MSWin32' or $ENV{PADRE_DEV} or grep /^(-h|--help)$/, @ARGV) { 
    9     exit 0 if fork(); 
     8unless ( $^O eq 'MSWin32' or $ENV{PADRE_DEV} or grep /^(-h|--help)$/, @ARGV) {   
     9    exit 0 if fork(); 
    1010} 
    1111 
     
    1515$ENV{PADRE_PAR_PATH} = $ENV{PAR_TEMP}||''; 
    1616 
    17 if( $^V ge v5.1 ) { # PERL_VERSION 
    18   # This is needed for Padre::Plugin::Perl6 and Syntax::Highlight::Perl6 
    19   # This will be removed once this STD.pm bug is fixed. 
    20     eval "use STD;"; 
    21     if (not $@) { 
    22         print "XXX- Enabled support for STD.pm\n"; 
    23     } 
     17if( $^V ge v5.1 ) { # $PERL_VERSION 
     18    # This is needed for Padre::Plugin::Perl6 and Syntax::Highlight::Perl6 
     19    # This will be removed once this STD.pm bug is fixed. 
     20    eval "use STD;"; 
     21    if (not $@) { # $EVAL_ERROR 
     22        print "Loaded STD.pm for Padre::Plugin::Perl6\n"; 
     23    } 
    2424} 
    2525 
Note: See TracChangeset for help on using the changeset viewer.