open my $pipe => "tail -f /syslog.log" or die "Fork failed: $!"; while (<$pipe>) { ... whatever ... }
But beaware of pipe buffers.
Abigail
In reply to Re: reading output from another script
by Abigail-II
in thread reading output from another script
by Octavian
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |