while(1) { open(IN, "tcpdump -nelttti pflog0 2>&1 |"); while (<IN>) { $sth->execute($stuff); } close(IN); }
Makeshifts last the longest.
In reply to Re: Keeping a loop alive
by Aristotle
in thread Keeping a loop alive
by fuzzyping
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |