Skip to content
No description, website, or topics provided.
Other
  1. Other 100.0%
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/IO
t
.gitignore
.travis.yml
LICENSE
META6.json
README.md

README.md

Build Status

NAME

IO::TailFile - emulation of tail -f

SYNOPSIS

use IO::TailFile;

# (a) reactive way
react {
  whenever IO::TailFile.watch("access.log", :chomp) -> $line {
    say $line;
  };
};

# (b) use lazy list
my @line = IO::TailFile.watch("access.log", :chomp).list.lazy;
for @line -> $line {
  say $line;
};

DESCRIPTION

IO::TailFile is a emulation of tail -f.

AUTHOR

Shoichi Kaji skaji@cpan.org

COPYRIGHT AND LICENSE

Copyright 2016 Shoichi Kaji

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.

You can’t perform that action at this time.