http://www.perlmonks.org?node_id=1229767

morgon has asked for the wisdom of the Perl Monks concerning the following question:

Hi, this works but seems to use the emacs editing mode when Term::Readline::Gnu is installed:
use strict; use Term::ReadLine; my $term = Term::ReadLine->new('a'); print "you entered: " . $term->readline("Enter something: ");
Is there a way to use vi-mode?

Many thanks!