[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] MacPerl file handling problem?



> From: Matt Seddon <matt@tvml.co.uk>
> Reply-To: matt@tvml.co.uk
> Organization: TVML
> Subject: MacPerl file handling problem?
> Date: Sun, 29 Nov 1998 23:27:35 +0000
> 
> I have come across one of those ARGH problems.
> 
> About 4 days ago I needed a script to extract some data from a 64 meg text
> file (it was basically parseing SQL statments and writing out the relevent
> ones to another file, but i digress).  Aha I thought... time to go home, I'll
> write it on my laptop (G3 Powerbook).
> 
> 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...
> 
> Any ideas?

-- 
Canta Forda Computer Laboratory       | Prime Time Freeware - quality 
UNIX consulting, training, & writing  | freeware at affordable prices
+1 650-873-7841                       | +1 408-433-9662   -0727 (Fax)
Rich Morin, rdm@cfcl.com              | www.ptf.com, info@ptf.com

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch