in reply to STDIN Odd Bevahior in Linux Environments

We can make this related to Perl very easily:

Have you considered using Term::ReadLine? It's nearly always preferable for interactive programs, as it can give you command-line editing and history.

On Linux systems, having Term::ReadLine::Gnu installed is highly recommended, as it will pick up your settings from .inputrc and so forth.

  • Comment on Re: STDIN Odd Bevahior in Linux Environments