Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: not working in Win10

by huck (Prior)
on May 31, 2019 at 23:43 UTC ( [id://11100824]=note: print w/replies, xml ) Need Help??


in reply to not working in Win10

Try adding

$| = 1;
before the first print. If that works it means that rather than going into autoflush mode on STDOUT it is going into buffering mode. perl normally sets autoflush mode on STDOUT if it thinks it is writing to a terminal, so if this works then for some reason when you start perl it doesnt think STDOUT is connected to a terminal.

Replies are listed 'Best First'.
Re^2: not working in Win10
by Boschman (Initiate) on Jun 04, 2019 at 18:00 UTC

    huck! your suggestion worked! A million thanks!! and thanks to all responders as well!!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-23 12:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found