Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^2: Sleep - settle an argument?

by ultranerds (Friar)
on Sep 20, 2012 at 13:06 UTC ( #994657=note: print w/replies, xml ) Need Help??

in reply to Re: Sleep - settle an argument?
in thread Sleep - settle an argument?


Ah interesting. Maybe it was a case of me being naive when I was learning perl and writing my first scripts :) I always thought that the sleep command was only to be used in SSH (as it had no effect in the web-browser). Thanks for clarifying - although that now means I've lost a bet :D

I have to admit - I've never had a reason to use sleep to "slow down" a script running in a web-browser - its only really when doing scripts that would need to leave a little gap to help the server cope with larger processes via cron etc



Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (12)
As of 2016-10-27 19:35 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (369 votes). Check out past polls.