in reply to Re^2: Reading a Properties file
in thread Reading a Properties file

In that case, your best approach is probably to pick one of the existing config file parsing modules and adjust your config file to match that syntax.

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

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg