File::History - It is a simple history file maker.
use File::History; my $history = File::History->new( filename => '/path/to/.history' ); my $cmd = $history->find_history(); $history->add_history($cmd); $history->flush;
File::History is simpel history file maker
The constructor must specify passing the history file.
This method picks up a record from input history.
The command newly input is stored in the memory.
This method writes file the input history. When you finish a terminal, this method is called.
Kazuhiro Nishikawa <kazuhiro.nishikawa@gmail.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install File::History, copy and paste the appropriate command in to your terminal.
cpanm
cpanm File::History
CPAN shell
perl -MCPAN -e shell install File::History
For more information on module installation, please visit the detailed CPAN module installation guide.