from what I understand you should use Term::ReadLine as frontend, not directly Term::ReadLine::Gnu or ::Perl you can control with the env var PERL_RL which one is loaded. This is the standard way.
That said you can find interesting easy-osx-termreadlinegnu and this SO post but basically they both say to:
brew install readline brew link --force readline cpanm Term::ReadLine::Gnu brew unlink readline
L*
In reply to Re: Term::ReadLine and line-editing
by Discipulus
in thread Term::ReadLine and line-editing
by ibm1620
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |