Changeset 1538 in ProjectBuilder
- Timestamp:
- May 13, 2012, 12:06:20 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/lib/ProjectBuilder/Conf.pm
r1528 r1538 104 104 105 105 # Read the content of the config file and cache it in the %h hash further availble for queries 106 open(CONF,$cf) || die"Unable to open $cf";106 open(CONF,$cf) || confess "Unable to open $cf"; 107 107 while(<CONF>) { 108 108 if (/^\s*([A-z0-9-_.]+)\s+([[A-z0-9-_.]+)\s*=\s*(.+)$/) { … … 369 369 } 370 370 371 die"No params found for $proj" if (not @return);371 confess "No params found for $proj" if (not @return); 372 372 373 373 foreach my $i (0..$#param) {
Note:
See TracChangeset
for help on using the changeset viewer.