The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

App::Timestamper - prefix lines with the timestamps of their arrivals.

VERSION

version 0.2.0

SYNOPSIS

    $ long-running-process | timestamper | tee mylog.txt

DESCRIPTION

App::Timestamper is a pure-Perl command line program that filters the input so the timestamps (in seconds+fractions since the UNIX epoch) are prefixed to the lines based on the time of the arrival.

So if the input was something like:

    First Line
    Second Line
    Third Line

It will become something like:

    1435254285.978485482\tFirst Line
    1435254302.569615087\tSecond Line
    1435254319.809459781\tThird Line

VERSION

version 0.2.0

AUTHOR

Shlomi Fish <shlomif@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2015 by Shlomi Fish.

This is free software, licensed under:

  The MIT (X11) License

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/shlomif/App-Timestamper/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.