At 02.02 -0500 1998.11.30, Rich Morin wrote: >> The problem is, under MacPerl, if you attempt to use the open command >>(actual >> tiny snippet enclosed): >> >> open DATAFILE, "requests.sql" >> >> it suddenly decides to eat up about 15 - 20 seconds caching the entire >>file... >> I actually ended up using a smaller, 3 meg file to prototype the code. >>When I >> moved the script back over to linux, it worked a treat... Are you sure that ALL you are doing is opening the file? open FILE, "some:14:meg:file" or die $!; print $^T - time; Returns (quickly): 0 $^T - time returns the number of seconds gone by since the start of the script. Maybe you need the latest version of MacPerl, 5.2.0r4? MacPerl should not read in the whole file in when it opens it. It just opens it. That's what it does for me (unless my computer can read in 14 MB in less than a second :). -- Chris Nandor mailto:pudge@pobox.com http://pudge.net/ %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6']) ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch