in reply to Matching data in a big file
You can slurp the file in one go by unsetting the special variable $/:
{ local $/; $document = <RTF_FILE>; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Matching data in a big file
by roboticus (Chancellor) on Dec 14, 2013 at 16:57 UTC | |
by hdb (Monsignor) on Dec 14, 2013 at 18:25 UTC | |
|
Re^2: Matching data in a big file (slurp without $/)
by Anonymous Monk on Dec 14, 2013 at 13:36 UTC |