Help for this page
my $tail_pid = open($H,"tail -f -n 50 z.txt |") or die $!; ... MainLoop; kill 9, $tail_pid;