in reply to Reading structured records from a file

Just curious, are you using a Perl script to create the initial text file?

If so, I'd seriously recommend using tie & untie.

Then you could store/load the hash off directly to/from a file.
=~Desertcoder

  • Comment on Re: Reading structured records from a file

Replies are listed 'Best First'.
Re: Re: Reading structured records from a file
by LukeyBoy (Friar) on Jan 18, 2002 at 09:41 UTC
    I wish the data was Perl generated, tie and untie would save a lot of headaches. The data format has been stabilised and won't change, so I'm SOL there :-)