Tie::Hash::Log - Tied hash that behaves like a regular hash, but logs operations
This document describes version 0.001 of Tie::Hash::Log (from Perl distribution Tie-Hash-Log), released on 2019-05-12.
use Tie::Hash::Log; tie my %hash, 'Tie::Hash::Log'; # use like you would a regular hash $hash{one} = 'value'; ...
This class implements tie interface for hash but performs regular hash operations, except logging the operation 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-Hash-Log.
Source repository is at https://github.com/perlancar/perl-Tie-Hash-Log.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Tie-Hash-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.
perltie
Log::ger
Tie::Array::Log, Tie::Hash::Log, Tie::Handle::Log.
Tie::Hash, Tie::StdHash, Tie::ExtraHash
Tie::Simple
perlancar <perlancar@cpan.org>
This software is copyright (c) 2019 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Tie::Hash::Log, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tie::Hash::Log
CPAN shell
perl -MCPAN -e shell install Tie::Hash::Log
For more information on module installation, please visit the detailed CPAN module installation guide.