[Israel.pm] integrating unix commands
Gaal Yahas
gaal at forum2.org
Wed Jan 14 01:07:28 PST 2004
On Wed, Jan 14, 2004 at 10:48:30AM +0200, Offer Kaye wrote:
> >
> > With backticks you need to be able to store all of the data in memory
> > at once, at some point in time. That's a theoretical limit that
> > sometimes must be worked around - you can read from pipes in chunks.
> >
>
> $|=1; for(`command`){do_stuff} ?
Uh, that certainly does construct a complete list of lines in memory
before doing stuff.
--
Gaal Yahas <gaal at forum2.org>
http://gaal.livejournal.com/
More information about the Perl
mailing list