Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Relationship between Chomp() operator and STDIN

by NetWallah (Canon)
on Apr 30, 2013 at 05:10 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1031319]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-03-29 01:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found