Gligan Calin Horea > File-RoundRobin > bin/rrtail

Download:
File-RoundRobin/File-RoundRobin-0.04.tar.gz

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

DESCRIPTION ^

This script simulates a small part of the linux tail command. It's a small utility that helps reading / writing round-robin text files.

SYNOPSIS ^

To print the last 10 lines of a file :

    tail -n 10 <filename>

To print the content as it's written :

    tail -f <filename>

Parameters :

NOTE ^

If the file size is verry small and you write a lot of odata into it (more than the file size) verry fast, tail might not be able to fallow you.

VERSION ^

Version 0.04

SUPPORT ^

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

    perldoc File::RoundRobin

You can also look for information at:

LICENSE AND COPYRIGHT ^

Copyright 2012 Gligan Calin Horea.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

syntax highlighting: