On Monday, June 10, 2002, at 07:11 , Postman Pat wrote:
[..]
>
> Just about all that I have been able to do from the docs is this:
> \my %config = ParseConfig(-file => "foo.conf", -LowerCaseNames => 1);
>
> Please help...
I've just peeked at the code here but you might try to do say
my @conf_keys = keys %config ;
# this would get you I think joe, jane, slim
foreach (@conf_keys) {
print "Player $_ has:\n";
while(my ($key, $val) = each $config{$_}) {
print "\t$key => $val\n";
}
}
which would have for joe....
Player joe has:
lname => soap
uname => joes
mail => [EMAIL PROTECTED]
gay => 1
.....
ciao
drieux
---
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]