Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: not working in Win10

by huck (Parson)
on May 31, 2019 at 23:43 UTC ( #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
Node Status?
node history
Node Type: note [id://11100824]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2019-10-24 00:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?