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();

It takes it out line by line.

add_history($cmd);

The command newly input is stored in the memory.

flush();

This method writes file the history that it writes it.
It is time when timing in which this method is called ends the terminal.

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.