title: Is there an equivalent of `tail -f` in Perl?
body: <p>I'm writing a script that listens for changes to a log file and acts appropriately. At the moment I'm using <code>open my $fh, "tail -f $logfile |";</code> but ideally I don't want to use system calls.  </p>
  
  <p>I've tried <a href="http://search.cpan.org/perldoc?File::Tail" rel="nofollow noreferrer">File::Tail</a> but it has a minimum interval of 1 second (I've tried passing less but it defaults to 1 second, even if I pass 0). I've checked the source for it and it seems to be using sleep() which takes an integer. Before I try to write my own, are there any other options?</p>
  
  <p>Thanks.</p>