Changeset 963 in ProjectBuilder for devel/pb-modules/lib/ProjectBuilder/Conf.pm
- Timestamp:
- Feb 8, 2010, 3:47:36 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/lib/ProjectBuilder/Conf.pm
r932 r963 93 93 # Add the new one at the end 94 94 my $num = keys %pbconffiles; 95 pb_log(2,"DEBUG: pb_conf_add $cf at position $num\n"); 95 96 $pbconffiles{$cf} = $num; 96 97 } … … 169 170 =item B<pb_conf_get_if> 170 171 171 This function returns a table, corresponding to a set of values quer ried in the conf files or undef if it doen't exist. It takes a table of keys as an input parameter.172 This function returns a table, corresponding to a set of values queried in the conf files or undef if it doen't exist. It takes a table of keys as an input parameter. 172 173 173 174 The format of the configurations file is as follows: … … 206 207 # the most important conf file is first, so read them in reverse order 207 208 foreach my $f (reverse sort { $pbconffiles{$a} <=> $pbconffiles{$b} } keys %pbconffiles) { 209 pb_log(2,"DEBUG: pb_conf_get_if in file $f\n"); 208 210 $ptr = pb_conf_get_fromfile_if("$f",$ptr,@param); 209 211 } … … 241 243 my $p2; 242 244 243 pb_log(2,"DEBUG: pb_conf_get $conffile: ".Dumper(@ptr1)."\n");244 pb_log(2,"DEBUG: pb_conf_get input: ".Dumper(@ptr2)."\n");245 pb_log(2,"DEBUG: pb_conf_get param: ".Dumper(@param)."\n");245 pb_log(2,"DEBUG: pb_conf_get_from_file $conffile: ".Dumper(@ptr1)."\n"); 246 pb_log(2,"DEBUG: pb_conf_get_from_file input: ".Dumper(@ptr2)."\n"); 247 pb_log(2,"DEBUG: pb_conf_get_from_file param: ".Dumper(@param)."\n"); 246 248 247 249 foreach my $i (0..$#param) {
Note:
See TracChangeset
for help on using the changeset viewer.