Changeset 39 in ProjectBuilder
- Timestamp:
- Aug 9, 2007, 6:37:14 PM (18 years ago)
- Location:
- devel
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/lib/pb.pm
r38 r39 7 7 # 8 8 use strict; 9 use AppConfig qw(ARGCOUNT_HASH );9 use AppConfig qw(ARGCOUNT_HASH ARGCOUNT_ONE); 10 10 use Data::Dumper; 11 11 … … 28 28 GLOBAL => { 29 29 # Each conf item is a hash 30 DEFAULT => { }, 31 ARGCOUNT => AppConfig::ARGCOUNT_ONE, 32 } 30 ARGCOUNT => ARGCOUNT_ONE, 31 }, 33 32 }); 34 33 $config->file($conffile); … … 51 50 my $config = AppConfig->new({ 52 51 # Auto Create variables mentioned in Conf file 53 CREATE => 1,54 52 DEBUG => $trace, 53 CREATE => '1', 55 54 GLOBAL => { 56 55 # Each conf item is a hash 57 DEFAULT => { }, 58 ARGCOUNT => AppConfig::ARGCOUNT_HASH, 59 } 56 ARGCOUNT => ARGCOUNT_HASH, 57 }, 60 58 }); 61 59 $config->file($conffile);
Note:
See TracChangeset
for help on using the changeset viewer.