Tie::Array::Log - Tied array that behaves like a regular array, but logs operations
This document describes version 0.002 of Tie::Array::Log (from Perl distribution Tie-Array-Log), released on 2019-05-12.
use Tie::Array::Log; tie my @ary, 'Tie::Array::Log'; # use like you would a regular array push @ary, 1, 2, 3; ...
This class implements tie interface for array but performs regular array operations, except logging the operation with Log::ger. It's basically used for testing, benchmarking, and documentation only.
Please visit the project's homepage at https://metacpan.org/release/Tie-Array-Log.
Source repository is at https://github.com/perlancar/perl-Tie-Array-Log.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Tie-Array-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::Scalar::Log, Tie::Hash::Log, Tie::Handle::Log.
Tie::Array, Tie::StdArray
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::Array::Log, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tie::Array::Log
CPAN shell
perl -MCPAN -e shell install Tie::Array::Log
For more information on module installation, please visit the detailed CPAN module installation guide.