- Timestamp:
- 11/05/05 17:31:57 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/soft/ObsData/ObsData.pm
- Property cvs2svn:cvs-rev changed from 1.6 to 1.7
r29 r30 29 29 sub new { 30 30 my ($class, $configfile) = @_; 31 my $obsdata = {}; 31 my $obsdata = { 32 config => new Config::IniFiles( 33 -file => $configfile, 34 -default => 'global', 35 -allowcontinue => 1 36 ), 37 }; 32 38 33 39 if ($configfile) { 34 40 (-f $configfile && -r _) or return undef; 35 $obsdata->{config} = new Config::IniFiles(36 -file => $configfile,37 -default => 'global',38 -allowcontinue => 139 ) or return undef;40 41 } 42 43 $obsdata->{config} or return undef; 41 44 42 45 bless($obsdata, $class);
Note: See TracChangeset
for help on using the changeset viewer.