in reply to Reading from large files

Show us the snippet of code that you are using to read the file. If you can generate a short script (10 line) that fails on large files, show us that. If you can't then it is likely we can't help in any case.

Make sure you have use strict; use warnings; at the top of your code.


DWIM is Perl's answer to Gödel

Replies are listed 'Best First'.
Re^2: Reading from large files
by zer (Deacon) on Mar 21, 2006 at 03:36 UTC
    updated... see above not much to it

      How big is the file? Do you really need to slurp it? What do you do with @D subsequently?


      DWIM is Perl's answer to Gödel
        ya its a by line parse with a for each does readline do the trick?

        File Size:411.07KB (420938 bytes)

        I updated the code