in reply to parsing text file into a hash?
Please read Dominus' series of articles explaining why what you want to do is very dangerous.
Perl Training in the UK <http://www.iterative-software.com>