On Tue, Mar 29, 2016 at 10:29 PM, Timo Paulssen <t...@wakelift.de> wrote: > On 03/30/2016 03:45 AM, Timo Paulssen wrote: > > Could you try using $filename.IO.slurp.lines instead of $filename.IO.lines > and see if that makes things any faster? ... > Actually, the method on an IO::Handle is called "slurp-rest"; slurp would > only work with a filename instead. > - Timo
Timo, I'm trying to test a situation where I could process every line as it is read in. The situation assumes the file is too large to slurp into memory, thus the read of one line at a time. So is there another way to do that? According to the docs "slurp-rest" gets all the remaining file at one read. Thanks, Best regards, -Tom