NAME

File::History - It is a simple history file maker.

SYNOPSIS

use File::History;

my $history = File::History->new(
    filename  => '/path/to/.history'
);

my $cmd = $history->find_history();
$history->add_history($cmd);
$history->flush;

DESCRIPTION

File::History is simpel history file maker

METHOD

new(filename => $filename)

The constructor must specify passing the history file.

find_history();

This method picks up a record from input history.

add_history($cmd);

The command newly input is stored in the memory.

flush();

This method writes file the input history.
When you finish a terminal, this method is called.

AUTHOR

Kazuhiro Nishikawa <kazuhiro.nishikawa@gmail.com>

SEE ALSO

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.