RE: Caching Large Data Structures To Disk

2002-02-15 Thread Richard Smith
Hi Jess, Tied variables might work, but I was also browsing CPAN this afternoon, and I noticed that there is a whole SAS module under "Commercial Software". I have no idea what it does, but you might find it interesting to look at. Thanx, Smiddy -- To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Caching Large Data Structures To Disk

2002-02-15 Thread Michael Fowler
On Fri, Feb 15, 2002 at 02:34:41PM -0500, Balint, Jess wrote: > Would it be possible to use 'tie' to operate on a large complex data > structure from disk? Certainly. The MLDBM module found on CPAN is good for this. It has a few caveats on usage, which are described in the documentation. Mich

RE: Caching Large Data Structures To Disk

2002-02-15 Thread Chas Owens
s there a dbm file size limit that I have to worry about? > > > > -Original Message- > > From: Chas Owens [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, February 14, 2002 4:30 PM > > To: Balint, Jess > > Subject: RE: Caching Large Data Structures To Disk > > >

RE: Caching Large Data Structures To Disk

2002-02-15 Thread Balint, Jess
On Thu, 2002-02-14 at 16:35, Balint, Jess wrote: > Is there a dbm file size limit that I have to worry about? > > -Original Message- > From: Chas Owens [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 14, 2002 4:30 PM > To: Balint, Jess > Subject: RE: Caching Large

RE: Caching Large Data Structures To Disk

2002-02-14 Thread Bob Showalter
> -Original Message- > From: Balint, Jess [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 14, 2002 3:11 PM > To: '[EMAIL PROTECTED]' > Subject: Caching Large Data Structures To Disk > > > Hello all. First off, I want to thank everybody on this list > who has helped > me with with

Re: Caching Large Data Structures To Disk

2002-02-14 Thread Chas Owens
Hashes can be stored in dbm files. Also you can use Data::Dumper to create a string that contains valid Perl syntax to create a give data structure. You can then write that string to a data file. When you need that data again you can read the file back into a string and eval it. See perldoc -

RE: Caching Large Data Structures To Disk

2002-02-14 Thread Timothy Johnson
Just to verify, since you didn't specify, You're not loading the entire file to memory before you start working with it, are you? For example: open(BIGFILE,"log.tmp"); @bigfile = ; probably wouldn't be a great idea. open(BIGFILE,"log.tmp"); while(){ do something to each line