in reply to Too much Hash??
It looks like $SubOption is being treated as a Hash reference.
No, but $Config{$Item} is. You're printing the values of the %Config hash, which are either hashrefs (in the case of sections with foo=bar lines) or scalars (in other cases). Nothing to be surprised at.
BTW, you'll be running into trouble when you have stanzas in your ini file which contain multiple lines without = in them (e.g. multiple email addresses in [Notify]). You might want to consider changing your data structure.
CU
Robartes-
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Too much Hash??
by HamNRye (Monk) on Jun 02, 2004 at 21:51 UTC | |
by Errto (Vicar) on Jun 03, 2004 at 01:15 UTC |
In Section
Seekers of Perl Wisdom