Devel::REPL::Plugin::DumpHistory.3pm

Langue: en

Version: 2008-05-31 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Devel::REPL::Plugin::DumpHistory - Plugin for Devel::REPL to save or print the history.

SYNOPSIS

     #!/usr/bin/perl 
 
     use lib './lib';
     use Devel::REPL;
 
     my $repl = Devel::REPL->new;
     $repl->load_plugin('LexEnv');
     $repl->load_plugin('History');
     $repl->load_plugin('DumpHistory');
     $repl->run;
 
 

DESCRIPTION

Plugin that adds the ":dump" and ":dump file_name" commands to the repl which will print the history to STDOUT or append the history to the file given.

SEE ALSO

"Devel::REPL"

AUTHOR

mgrimes, <mgrimes at cpan dot org<gt> Copyright (C) 2007 by mgrimes

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.2 or, at your option, any later version of Perl 5 you may have available.