Re: Config::General help

2002-06-10 Thread drieux
On Monday, June 10, 2002, at 07:56 , drieux wrote: > foreach (@conf_keys) { > print "Player $_ has:\n"; > while(my ($key, $val) = each $config{$_}) { > print "\t$key => $val\n"; > } > } teach me to write off the top of

Re: Config::General help

2002-06-10 Thread drieux
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

Config::General help

2002-06-10 Thread Postman Pat
Greetings, I am trying to use config::general on my script. The config file looks like this: lname=soap uname=joes [EMAIL PROTECTED] gay=1 lname=doe uname=jandoe [EMAIL PROTECTED] gay=0 lname=shady uname=eminem [EMAIL PROTECTED] gay=1 I would like to read this in from file and display it