XAS::Logmon::Input::Tail::Linux - A mixin for Linux specific file tailing
This method is autoloaded when running on a Linux platform. It uses Linux::Inotify2 to monitor the file.
Returns one line from the tailed file or undef if the file is moved or deleted.
Initialize Linux::Inotify2 and start the file monitoring.
Based on code from File::Tail::Inotify2.
Kevin L. Esteb, <email@example.com>
Copyright (c) 2012-2015 Kevin L. Esteb
This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.
To install XAS::Logmon, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.