The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

IO::Tail - follow the tail of files/stream

VERSION

Version 0.01

SYNOPSIS

 use IO::Tail;
 my $tail = IO::Tail->new();
 $tail->add(\*STDIN, \&callback);
 $tail->add('test.log', \&callback);
 $tail->check();
 $tail->loop();

EXPORT

No functions are exported.

METHODS

$pkg->new()

$pkg->add($obj, $callback);

$pkg->remove($obj);

$pkg->check();

$pkg->loop();

$pkg->add_handle($handle, $callback);

$pkg->remove_handle($handle);

$pkg->add_file($file, $callback);

$pkg->remove_file($file);

$pkg->add_timeout($callback, $timeout_secs);

$pkg->remove_timeout($callback);

$pkg->add_interval($callback, $interval_secs);

$pkg->remove_interval($callback);

AUTHOR

YAMASHINA Hio, <hio at cpan.org>

BUGS

Please report any bugs or feature requests to bug-io-tail at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=IO-Tail. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc IO::Tail

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2007 YAMASHINA Hio, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.