Aside from using the Term::ReadKey package, is there a recommended approach to accepting input as a password without echoing back the characters in a Windows (2000/XP) environment?
Thanks for the reply, but I had tried with and without the @. I did attempt to execute with the system call as suggested. NO errors, but the input still echoed.
I think you need to say @echo off, but within backticks, perl is interpolating values and is trying to find an array called @echo (bet you're not running under strict, are you?). You could try making a system call and use single quotes or escape the @, but I'm still not sure something like that works. Isn't setting @echo changing the shell, and doesn't a new shell get spawned for every sytem call? Dunno, try and see.
----------------------------------------------------------------------------------
...but I'm just a C man trying to see the light
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.