in reply to term::readkey suggestion

Term::ReadKey comes with Perl. Why would you want to avoid Term::ReadKey? Yes, even you can use CPAN

Also see the output of perldoc -q password resp. perlfaq8.

Replies are listed 'Best First'.
Re^2: term::readkey suggestion
by Anonymous Monk on Jan 27, 2010 at 14:59 UTC
    Hi Corion,

    Thanks for your reply but Term::ReadKey doesn't comes with perl as standard module (atleast in perl v5.6). Also, it's not like I am trying to avoid; just curious to know if there any other possible route?

    once again, Thanks for your suggestion.

      Of course you could use other methods, but most of them only work on a small number of platforms. Figuring out all the differences between the OSes and their implementations of terminals is very boring. Thats what Term::ReadKey does for you.

      One way of turning echo off on UNIX-like platforms is stty -echo and turn it on again with stty echo.

        Thank You all for your suggestion. Really Thanks.Have a nice day ahead.