Log::SelfHistory - Perl extension for logging self execution history.
use Log::SelfHistory; writeCmd("CMD",3); Where: "CMD" is the tag in the caller script to place execution history. we can place this tag in script were we want execution history to be displayed. "3" is no of exectuions to log, so after 3 exectuions the log history will be reset. Example: #Contents is test.pl(caller script). use Log::SelfHistory; writeCmd("CMD",3); #CMD (!!!Please note here the tag is put in form of comment!!!).
Log self execution history in the caller script itself. Also control the number of exectuions logged.
****** Module Works on Unix Boxes Only *******
Tushar, tushar@cpan.org
Copyright (C) 2010 by Tushar Murudkar
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install Log::SelfHistory, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::SelfHistory
CPAN shell
perl -MCPAN -e shell install Log::SelfHistory
For more information on module installation, please visit the detailed CPAN module installation guide.