I cannot reproduce your problem but I was thinking of
use strict; use warnings; sub do_something { print '{', $_[0], "}\n" } { local $/ = ' '; while (<>) { do_something($_); } } do_something(<>);
In reply to Re^3: Reading a huge input line in parts
by hdb
in thread Reading a huge input line in parts
by kroach
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |