Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^2: Perl stdout timing/formatting

by dburke (Novice)
on Sep 12, 2012 at 17:31 UTC ( #993256=note: print w/replies, xml ) Need Help??

in reply to Re: Perl stdout timing/formatting
in thread Perl stdout timing/formatting

This seemed to work really well, thank you. It took me a while to figure out how to Google that though. :P So now I have a very basic understanding of what that is and why I would put it in my script, but I still have one question; does it only need to be put at the beginning of my script and only once? I currently have it at the start of every while(1) so that it 'flushes' before each part of the script runs. Is that the right thing to do or is it just redundant?

Thank you for the help!

Replies are listed 'Best First'.
Re^3: Perl stdout timing/formatting
by BrowserUk (Pope) on Sep 12, 2012 at 19:48 UTC
    I still have one question; does it only need to be put at the beginning of my script and only once?

    Once at the top is all that is needed. More than that is redundant.

    This is an often recommended reference.

    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    RIP Neil Armstrong

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://993256]
[erix]: the latter-day part of [Answered; thanks.] Can this be explained in layman's terms?
[LanX]: oh I see - a deeply buked discussion
[erix]: auto-da-fe duncey hats
LanX can only recommend css settings hiding certain monkssess ;)
[LanX]: I can't hear the word inquisition without Mel Brooks jumping in front of my inner eye

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2017-01-18 00:11 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (159 votes). Check out past polls.