in reply to Memory Hog Code - Where's the Pileup?

Depending on the Perl version, tie can be a memory leak. Since you're not actually using the benefits of Tie::File, why not just strip the headers when you create the file about 20 lines up? Or, am I missing something ...

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
  • Comment on Re: Memory Hog Code - Where's the Pileup?

Replies are listed 'Best First'.
Re^2: Memory Hog Code - Where's the Pileup?
by awohld (Hermit) on Nov 03, 2005 at 04:12 UTC
    I'm using Perl V 5.8.6, is that a memory leak version for Tie::File?

    I use the headers after the file is created to create my SQL and look for duplicate headers. Maybe I should rearrange my code so I don't have to use Tie::File.