Term::ReadLine is core and should satisfy your requirements, but see also this blog post (and the follow ups) implementing a repl using Moose.
Update: Had typo'd my CPAN link there ('l' for 'L').
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: minimal shell-like interface for CLI app
by Fletch
in thread minimal shell-like interface for CLI app
by wanradt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |