Changeset 2279 in ProjectBuilder for devel/pb-modules/lib/ProjectBuilder/Conf.pm
- Timestamp:
- Aug 30, 2017, 5:08:03 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/lib/ProjectBuilder/Conf.pm
r2278 r2279 22 22 # Inherit from the "Exporter" module which handles exporting functions. 23 23 24 use vars qw($VERSION $REVISION @ISA @EXPORT);24 use vars qw($VERSION $REVISION $PBCONFVER @ISA @EXPORT); 25 25 use Exporter; 26 26 … … 184 184 185 185 # Read the content of the config file and cache it in the %h hash then available for queries 186 if ($ confver < 0.15) {186 if ($PBCONFVER < 1) { 187 187 open(CONF,$cf) || confess "Unable to open $cf"; 188 188 # This is the original conf file format for versions up to 0.14 … … 333 333 open(CONF,"> $conffile") || confess "Unable to write into $conffile"; 334 334 335 if ($ confver < 0.15) {335 if ($PBCONFVER < 1) { 336 336 # This is the original conf file format for versions up to 0.14 337 337 foreach my $p (sort keys %$h) {
Note:
See TracChangeset
for help on using the changeset viewer.