test.Config.pl untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond 0.0% 0 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #!/usr/bin/perl -w
2 # $Id: test.Config.pl,v 1.1 2000/05/01 21:53:40 matt Exp $
3 use lib qw(.);
4 use Config;
5 my $cfg = new GoXML::Config;
6  
7 print "1) Load one file:\n\n";
8  
9 my %chash = $cfg->load_conf("test.xml") or die $cfg->err_str;
10  
11 for (sort keys(%chash)) {
12 print "* $_ = $chash{$_}\n";
13 }
14  
15 print "2) Load a couple files:\n\n";
16 print "\t- NOT IMPLEMENTED.\n\n";
17  
18  
19 print "If you see no error, it worked :)\n";