On 11-03-15 03:42 AM, John wrote:
where you can see, during the "elsif" line , when user clicks the "up
movement key" on keyboard, I want to print out the input that he
previously entered, but I don't know how what should I put in the
" /   / " area.

I think Term::ReadKey will do what you want.

See:  http://search.cpan.org/~kjalb/TermReadKey-2.14/ReadKey.pm


--
Just my 0.00000002 million dollars worth,
  Shawn

Confusion is the first step of understanding.

Programming is as much about organization and communication
as it is about coding.

The secret to great software:  Fail early & often.

Eliminate software piracy:  use only FLOSS.

--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to