Subject: | config will not parse |
I wrote up a config file but I cannot get it to parse properly.
mark@bodhi /tmp $ ./conftest.pl
EndBlock "</mirror>" has no StartBlock statement (level: 1, chunk 24)!
at ./conftest.pl line 6
mark@bodhi /tmp $
I have attached the script and the config file. I cannot find a reason
why this will not parse.
Subject: | conftest.pl |
#!/usr/bin/perl -w
#
use Config::General;
use strict;
#my $conf = new Config::General(-ConfigFile => \*STDIN);
my $conf = new Config::General(-ConfigFile => '/tmp/conf');
my %config = $conf->getall();
print "yay\n";
Subject: | conf |