You can slurp the file in one go by unsetting the special variable $/:
{ local $/; $document = <RTF_FILE>; }
In reply to Re: Matching data in a big file
by hdb
in thread Matching data in a big file
by alexsc01
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |