Changeset 3276


Ignore:
Timestamp:
03/12/09 03:03:43 (3 years ago)
Author:
jquelin
Message:

removing duplicated constants

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/lib/Padre/Config/Setting.pm

    r3175 r3276  
    66use strict; 
    77use warnings; 
    8 use Carp         (); 
    9 use Params::Util (); 
     8 
     9use Carp                     (); 
     10use Padre::Config::Constants qw{ :stores :types }; 
     11use Params::Util             (); 
    1012 
    1113our $VERSION = '0.28'; 
    12  
    13 # TODO: Really shouldn't clone these constants, 
    14 # but for now it's a nice convenience. 
    15  
    16 # Settings Types 
    17 use constant BOOLEAN => 0; 
    18 use constant POSINT  => 1; 
    19 use constant INTEGER => 2; 
    20 use constant ASCII   => 3; 
    21 use constant PATH    => 4; 
    22  
    23 # Setting Stores 
    24 use constant HOST    => 0; 
    25 use constant HUMAN   => 1; 
    26 use constant PROJECT => 2; 
    2714 
    2815use Class::XSAccessor 
Note: See TracChangeset for help on using the changeset viewer.