Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Relationship between Chomp() operator and STDIN

by NetWallah (Canon)
on Apr 30, 2013 at 05:10 UTC ( #1031319=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2019-07-16 18:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?