in reply to Re^2: Simulating Command Line History in Perl
in thread Simulating Command Line History in Perl

Term::ReadLine will pick from a number of different backends depending on what's available. My custom built perl finds Term::ReadLine::Gnu and works just fine. My system perl, which I never touch, found Term::ReadLine::Stub which does not work correctly, because it's just a stub.

Add this line to almut's code to see your backend.

print "Using ", $term->ReadLine, "\n";