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


in reply to A framework for a shell in perl?

Suggest Term::Readline as a starting point. It supports pushing lines into it's own history buffer and other readline features.

POE has a cool module called Term::Visual but I suspect it's not the right tool for this job. Googling it did bring up a simple recipe for Console Input with POE. http://poe.perl.org/?Poe_cookbook/Console_Input

HTH