Changeset 1594 in ProjectBuilder for devel/pb-modules/lib/ProjectBuilder/Conf.pm
- Timestamp:
- May 24, 2012, 3:41:09 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/lib/ProjectBuilder/Conf.pm
r1584 r1594 228 228 =item B<pb_conf_get_in_hash_if> 229 229 230 This function returns a table, corresponding to a set of values queried in the hash passe in parameter or undef if it doen't exist. It takes a table of keys as an input parameter. 230 This function returns a table, corresponding to a set of values queried in the hash passed in parameter or undef if it doesn't exist. 231 It takes a table of keys as an input parameter. 231 232 232 233 =cut … … 282 283 sub pb_conf_get_if { 283 284 284 my @params = @_; 285 my @ptr = undef; 286 287 return(pb_conf_get_in_hash_if($h,@params)); 285 return(pb_conf_get_in_hash_if($h,@_)); 288 286 } 289 287 … … 346 344 if (not defined $p1->{$ENV{'PBPROJ'}}) { 347 345 if (defined $p2->{$ENV{'PBPROJ'}}) { 348 $p1->{$ENV{'PBPROJ'}} = $p2->{$ENV{'PBPROJ'}} if (defined $p2->{$ENV{'PBPROJ'}});346 $p1->{$ENV{'PBPROJ'}} = $p2->{$ENV{'PBPROJ'}}; 349 347 } else { 350 348 $p1->{$ENV{'PBPROJ'}} = $p1->{'default'} if (defined $p1->{'default'});
Note:
See TracChangeset
for help on using the changeset viewer.