in reply to Re: Parse file to Hash of Hash etc.
in thread Parse file to Hash of Hash etc.

Arggh. -1 vote. Please don't use eval for this! (was Re: List Values As Multidimensional Hash Keys)

Those who do not study history are doomed to repeat it, it seems.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re^3: Parse file to Hash of Hash etc.
by mrborisguy (Hermit) on May 18, 2005 at 19:23 UTC
    Point taken. And a good read too. Thanks! I'll try to be more careful next time. Do you have a suggestion of the simplest way to do this safely?
Re^3: Parse file to Hash of Hash etc.
by crusty_collins (Friar) on May 18, 2005 at 19:41 UTC
    I think I understand what you are saying but the code from mrborisguy works great for me and I understand what it is doing, which for me is very important. I do not like to just cut and past code because in the end someone has to support it. I did try the data dumper but am unable to access the data on the return. ?? Probably since I don't know what I am doing :) maybe a plus one for for mrborisguy ?
        Ok, oh great one. I will do as advised. Thanks, Chris Collins