No description, website, or topics provided.
Perl6
Switch branches/tags
Nothing to show
Latest commit f365fa1 May 3, 2017 @skaji committed on GitHub Merge pull request #2 from samcv/SPDX-license
Use SPDX identifier in license field of META6.json
Permalink
Failed to load latest commit information.
lib/IO Avoid use of removed method Apr 11, 2017
t init May 28, 2016
.gitignore init May 28, 2016
.travis.yml init May 28, 2016
LICENSE init May 28, 2016
META6.json Use SPDX identifier in license field of META6.json Apr 27, 2017
README.md use Pod::To::Markdown::Fenced Nov 27, 2016

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.