On Monday, October 21, 2002, at 12:25 PM, allan wrote:
Use tie'd hashes to transparently store the data in your hashes in a file. Since your hash is pretty simple you can probably just use DB_File (included with Perl):i am not sure whether the problem is in the hash-storing itself or the post-sorting. but if i monitor the memory comsumption while pulling the links/urls i can clearly see it does increase steadilyso what i'm looking for is some advice. i am thinking off these alternatives for the above hashes: a) store the urls / responses in a temp txtfile b) store the urls / responses in a temp db-table c) someone with a better idea
http://search.cpan.org/dist/DB_File/
If your hashes become more complex, you can use MLDBM from the CPAN:
http://search.cpan.org/dist/MLDBM/
HTH,
David
--
David Wheeler AIM: dwTheory
[EMAIL PROTECTED] ICQ: 15726394
http://david.wheeler.net/ Yahoo!: dew7e
Jabber: [EMAIL PROTECTED]
