Tie::FileHandle::Log - Tied filehandle that logs operations
This document describes version 0.001 of Tie::FileHandle::Log (from Perl distribution Tie-FileHandle-Log), released on 2019-05-12.
use Tie::Handle::Log; tie *FH, 'Tie::Handle::Log', '>>', 'file.txt'; # use like you would a regular filehandle print FH "one", "two"; ... close FH;
This class implements tie interface for filehandle but performs normal file operations and in addition to that logs the operations with Log::ger. It's basically used for testing, benchmarking, or documentation only.
Please visit the project's homepage at https://metacpan.org/release/Tie-FileHandle-Log.
Source repository is at https://github.com/perlancar/perl-Tie-FileHandle-Log.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Tie-FileHandle-Log
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.
Tie::Handle::Log that does nothing except logs.
This software is copyright (c) 2019 by email@example.com.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.