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

NAME

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

VERSION

version 0.2.0

SYNOPSIS

    use App::Timestamper::Format;

    App::Timestamper::Format->new({ argv => [@ARGV] })->run();

DESCRIPTION

App::Timestamper::Format is a pure-Perl command line program that filters the input so the formatted timestamps based on the TIMESTAMPER_FORMAT environment variable 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:

    11:12:00\tFirst Line
    11:12:02\tSecond Line
    11:12:04\tThird Line

SUBROUTINES/METHODS

new

A constructor. Accepts the argv named arguments.

run

Runs the program.

SEE ALSO

App::Timestamper .

“ts” from “moreutils”

“ts” is a program that is reportedely similar to “timestamper” and is contained in joeyh’s “moreutils” (see http://joeyh.name/code/moreutils/) package. It is not easy to find online.

Chumbawamba’s song “Tubthumping”

I really like the song “Tubthumping” by Chumbawamba, which was a hit during the 1990s and whose title sounds similar to “Timestamping”, so please check it out:

SUPPORT

Websites

The following websites have more information about this module, and may be of help to you. As always, in addition to those websites please use your favorite search engine to discover more resources.

Bugs / Feature Requests

Please report any bugs or feature requests by email to bug-app-timestamper-format at rt.cpan.org, or through the web interface at https://rt.cpan.org/Public/Bug/Report.html?Queue=App-Timestamper-Format. You will be automatically notified of any progress on the request by the system.

Source Code

The code is open to the world, and available for you to hack on. Please feel free to browse it and play with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull from your repository :)

https://github.com/shlomif/App-Timestamper-Format

  git clone https://github.com/shlomif/App-Timestamper-Format.git

AUTHOR

Shlomi Fish <shlomif@cpan.org>

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/shlomif/app-timestamper-format/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.

COPYRIGHT AND LICENSE

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

This is free software, licensed under:

  The MIT (X11) License