Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Term::ReadPassword::Win32 kills STDIN

by Anonymous Monk
on Apr 20, 2017 at 13:25 UTC ( [id://1188401]=note: print w/replies, xml ) Need Help??


in reply to Re: Term::ReadPassword::Win32 kills STDIN
in thread Term::ReadPassword::Win32 kills STDIN

On Linux, you also need to check for \n, not only \r


if(ord($key) == 13 || ord($key) == 10) { # if Enter was pressed...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1188401]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-25 07:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found