I am trying to read log of server which is being updating continuously. I tried below code but i dont see output.Thanks in advance
use File::Tail; my $file = File::Tail->new("/some/log/file"); while (defined(my $line= $file->read)) { print $line; }
In reply to Read log which is being updated continuisly by bimleshsharma
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |