in reply to Re: Configuration file parsing?
in thread Configuration file parsing?

You're making heavy use of symbolic references in this code which means that it won't work under use strict. Symbolic references are usually best avoided for reasons discussed in perldoc perlref. A better solution might be to store all of the configuration information in a global hash.

Also there are a couple of places where you loop over a scalar value, e.g.

foreach ($one) { $$one{$two} = "$three"; }

which seems a bit of a strange thing to do!


--
<http://www.dave.org.uk>

European Perl Conference - Sept 22/24 2000
<http://www.yapc.org/Europe/>