daxim has asked for the wisdom of the Perl Monks concerning the following question:
Repro:
- run re.pl
- execute !!1
Expect: 1
How do I make it stop? I have already tried without success:
- installing Devel::REPL::Plugin::ReadLineHistory::WithoutExpansion
- setting $_REPL->term->Attribs->{do_expand} = 0; as documented in Devel::REPL::Plugin::ReadLineHistory
#!/usr/bin/env perl use 5.030; use lib 'lib'; use utf8; use strictures; use autodie qw(:all); use Moops; use Kavorka; use perl5i::2 -skip => [qw(Signatures)]; use Devel::REPL::Plugin::ReadLineHistory::WithoutExpansion; $_REPL->load_plugin(qw( Colors DataPrinter DumpHistory FindVariable History Interrupt LexEnv MultiLine::PPI OutputCache Packages Peek PPI Refresh ReadLineHistory::WithoutExpansion ShowClass Completion CompletionDriver::Globals CompletionDriver::INC CompletionDriver::Keywords CompletionDriver::LexEnv CompletionDriver::Methods CompletionDriver::Turtles )); $_REPL->term->Attribs->{history_quotes_inhibit_expansion} = 1; $_REPL->term->Attribs->{do_expand} = 0;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: re.pl: Unable to find … in history
by Corion (Patriarch) on Aug 22, 2019 at 11:01 UTC |
Back to
Seekers of Perl Wisdom