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

Works for me.  I.e., type "foo" at the prompt, followed by <Enter>. New empty prompt appears. Hit cursor up, and "foo" is back for you to edit.  This is what I understood the OP wanted...

If that doesn't work, you're likely either on Windows, or don't have Term::ReadLine::Gnu installed.

  • Comment on Re^3: Simulating Command Line History in Perl

Replies are listed 'Best First'.
Re^4: Simulating Command Line History in Perl
by Anonymous Monk on Apr 23, 2010 at 22:40 UTC
    It still doesn't work for me... I have Term::ReadLine::Gnu installed.
      This sounds crazy but maybe you are on Windows???