in reply to Re: Foreach Loop Optimization
in thread Foreach Loop Optimization

Thanks, I thought of that but I need to do a lot of sorting, filtering, and other stuff with the table data before I print it so I would have to load it all into memory any way.

Replies are listed 'Best First'.
Re^3: Foreach Loop Optimization
by dogz007 (Scribe) on Aug 01, 2007 at 16:25 UTC
    If that's the case then you might try some of the techniques in Dominus's lightweight database tutorials. You can find the link to them in this node:

    http://www.perlmonks.com/?node_id=629253

    I started looking through the materials and I think it may work real well for your situation. However, I do not have much experience in it, so you're on your own from there.