Subversion Repositories DevTools

Rev

Rev 5709 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
392 dpurdie 1
#! perl
2
########################################################################
6177 dpurdie 3
# COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED.
392 dpurdie 4
#
5
# Module name   : jats.sh
6
# Module type   : Makefile system
7
# Compiler(s)   : n/a
8
# Environment(s): jats
9
#
10
# Description:
11
#
12
# Usage:
13
#
14
# Version   Who      Date        Description
15
#
16
#......................................................................#
17
 
18
require 5.006_001;
19
use strict;
20
use warnings;
21
 
22
use JatsError;
23
use JatsIniFile;
24
 
25
 
26
my $conf = new JatsIniFile;
27
 
28
# Read the config file.
29
$conf->read ("C:/WINDOWS/php.ini");
30
$conf->read ("c:/WINDOWS/orun32.ini");
31
$conf->read ("c:/WINDOWS/vbce.ini");
32
 
33
for ( glob ( "c:/WINDOWS/*.ini" ) )
34
{
35
    print "Reading: $_\n";
36
    $conf->read ($_);
37
}
38
 
39
 
40
DebugDumpData ("INI", $conf );
41
 
42
$conf->get('PHP','aa');
43
$conf->get('ZZZ','bb');
44
 
45
 
46
foreach  ( keys %{$conf->{'PHP'}} )
47
{
48
#    print "Key: $_,   $conf->{''}{$_}\n";
49
    print "Data: $_ .... ". $conf->get('PHP', $_) . "\n";
50
}
51
 
52
print "\n\n";
53
print "Data:include_path ". $conf->get('PHP','include_path') ."\n";
54
print "Data:fred ". $conf->get('PHP','fred', 'DefaultFred') ."\n";