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

Re: Which loop should I use?

by tadman (Prior)
on Jul 31, 2003 at 19:16 UTC ( [id://279729]=note: print w/replies, xml ) Need Help??


in reply to Which loop should I use?

Keep in mind that sometimes your output is not displayed right away because you didn't finish upwith a linefeed. Almost all print statements should finish with one, for example:
print "This is my comment\n";
The "\n" will send the line to the terminal immediately. If you don't have a trailing linefeed, the line might get buffered, which can delay its appearance.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-24 17:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found