Ignore:
Timestamp:
02/08/10 03:51:35 (2 years ago)
Author:
azawawi
Message:

Perl tidy

File:
1 edited

Legend:

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

    r10615 r10621  
    102102); 
    103103 
    104 use constant LOG_FILE       => File::Spec->catfile( CONFIG_DIR, 'debug.log' ); 
    105 use constant PLUGIN_DIR     => File::Spec->catdir( CONFIG_DIR, 'plugins' ); 
    106 use constant PLUGIN_LIB     => File::Spec->catdir( PLUGIN_DIR, 'Padre', 'Plugin' ); 
     104use constant LOG_FILE => File::Spec->catfile( CONFIG_DIR, 'debug.log' ); 
     105use constant PLUGIN_DIR => File::Spec->catdir( CONFIG_DIR, 'plugins' ); 
     106use constant PLUGIN_LIB => File::Spec->catdir( PLUGIN_DIR, 'Padre', 'Plugin' ); 
    107107use constant CONFIG_HOST    => File::Spec->catfile( CONFIG_DIR, 'config.db' ); 
    108108use constant CONFIG_HUMAN   => File::Spec->catfile( CONFIG_DIR, 'config.yml' ); 
     
    112112# so we can run it again later if needed. 
    113113sub init { 
     114 
    114115    # Check and create the directories that need to exist 
    115116    unless ( -e CONFIG_DIR or File::Path::mkpath(CONFIG_DIR) ) { 
     
    140141# NOTE: The only reason this is here is that it is needed both during 
    141142# main configuration, and also during Padre::Startup. 
    142 use constant DEFAULT_SINGLEINSTANCE => ( 
    143     WIN32 and not( $ENV{HARNESS_ACTIVE} or $^P ) 
    144 ) ? 1 : 0; 
     143use constant DEFAULT_SINGLEINSTANCE => ( WIN32 and not( $ENV{HARNESS_ACTIVE} or $^P ) ) ? 1 : 0; 
    145144 
    146145use constant DEFAULT_SINGLEINSTANCE_PORT => 4444; 
Note: See TracChangeset for help on using the changeset viewer.