While I recall that we've often discussed building command history into Rakudo's REPL directly, the workaround suggested to me was to use 'rlwrap':
$ rlwrap ./perl6 Then the arrow keys work, as well as CTRL-P and other bash-like history commands. I've never used CTRL-K for history, but rlwrap is customizable so there's probably a way to get that to work somehow. Pm On Fri, Jan 01, 2016 at 04:47:15PM -0500, Parrot Raiser wrote: > Is there any way to recall a previous command (for correction or > re-running), when using Perl 6 in the interactive REPL mode? > > Every time I make a typo in a complex command, I reflexively hit > ctrl-k before remembering I'm not in bash any more. :-)*