in reply to Relationship between Chomp() operator and STDIN

Try entering this on the command line before you run your perl script:
stty -echo
You will not be able to see what you type - just the prompts and responses from your code.
This will get you the output you seek.

To reset to "normal", type "stty echo".

If you are on Windows, the equivalent commands are "echo off" and "echo on".

             "I'm fairly sure if they took porn off the Internet, there'd only be one website left, and it'd be called 'Bring Back the Porn!'"
        -- Dr. Cox, Scrubs