1Devel::REPL::Plugin::ReUasdeLrinCeoHnitsrtiobruyt(e3d)PDeervlelD:o:cRuEmPeLn:t:aPtliuognin::ReadLineHistory(3)
2
3
4

NAME

6       Devel::REPL::Plugin::ReadLineHistory - Integrate history with the
7       facilities provided by Term::ReadLine
8

VERSION

10       version 1.003028
11

DESCRIPTION

13       This plugin enables loading and saving command line history from a file
14       as well has history expansion of previous commands using the !-syntax a
15       la bash.
16
17       By default, history expansion is enabled with this plugin when using
18       Term::ReadLine::Gnu. That means that "loose" '!' characters will be
19       treated as history events which may not be what you wish.
20
21       To avoid this, you need to quote the '!' with '\':
22
23         my $var = "foo\!";
24
25       or place the arguments in single quotes---but enable the
26       "Term::ReadLine" attribute "history_quotes_inhibit_expansion":
27
28         $_REPL->term->Attribs->{history_quotes_inhibit_expansion} = 1;
29         my $var = 'foo!';
30
31       and to disable history expansion from GNU readline/history do
32
33         $_REPL->term->Attribs->{do_expand} = 0;
34

CONFLICTS

36       Note that Term::ReadLine::Perl does not support a history expansion
37       method.  In that case, you may wish to use the Devel::REPL History
38       plugin which provides similar functions.  Work is underway to make use
39       of either History or ReadLineHistory> consistent for expansion with
40       either the Term::ReadLine::Gnu support or Term::ReadLine::Perl.
41

SUPPORT

43       Bugs may be submitted through the RT bug tracker
44       <https://rt.cpan.org/Public/Dist/Display.html?Name=Devel-REPL> (or
45       bug-Devel-REPL@rt.cpan.org <mailto:bug-Devel-REPL@rt.cpan.org>).
46
47       There is also an irc channel available for users of this distribution,
48       at "#devel" on "irc.perl.org" <irc://irc.perl.org/#devel-repl>.
49

AUTHOR

51       Matt S Trout - mst (at) shadowcatsystems.co.uk
52       (<http://www.shadowcatsystems.co.uk/>)
53
55       This software is copyright (c) 2007 by Matt S Trout - mst (at)
56       shadowcatsystems.co.uk (<http://www.shadowcatsystems.co.uk/>).
57
58       This is free software; you can redistribute it and/or modify it under
59       the same terms as the Perl 5 programming language system itself.
60
61
62
63perl v5.34.0                      2021-0D7e-v2e2l::REPL::Plugin::ReadLineHistory(3)
Impressum