http://www.perlmonks.org?node_id=1049889

anandooty has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I need help to in putting passwords. I have written a script for login into our application. while running script it should ask for application login name and password. Sometimes users has the password like Team@123, Case$123,etc. Such case it takes only the letters before @, $ and login failed. Can somebody help me to take entire password in case if it contains @, $. NOTE : I can't ask users to don't keep @, $ in your password. Regards, Anand Mathan.