in reply to Simulating Command Line History in Perl

The Term::ReadLine module definitely should let you do that. From the documentation, it looks like you need two things:
  1. The actual C readline library present
  2. To call the "addhistory" method on input you want saved.
  • Comment on Re: Simulating Command Line History in Perl