[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: delay in perlscripts?



"D. Hoyem" wrote:
> 
> Uli,
>   I believe that the syntax is sleep() so you would
> use sleep(60);

Won't work... that causes the process to sleep, therefore not only does the
perl interpreter sleep, X-Chat sleeps as well.

A delay loop would also cause such a problem... X-Chat isn't running when the
perl interpreter is... so for as long as your script is doing things, X-Chat is
not.

At least it forces tight, fast code :)

-- 
Mike Guidero [KD7ILU] - Genius in disguise.
*** aibohphobia, n., The fear of palindromes. ***
PGP Public Key: (Unavailable at this time)
Fingerprint   : DD87 C663 1767 B11F  1EDE D2AA 0DD1 89C6  56D7 109A
-
XChat-discuss: mailing list for XChat users
Archive:       http://mail.nl.linux.org/lists/
Posted By:     Mike Guidero <kymermosst@penguinpowered.com>