Does Perl have a wait command?

T

ToddAndMargo

Hi All,

I am a bit new to Perl. Does Perl have
a wait command that will suspend on the command
for a determined amount of time? Does it take
a lot of CPU cycles counting something (clock
cycles, etc.)? Or does it pretty much suspect the program
(low CPU usage)?

Many thanks,
-T
 
J

Jürgen Exner

I am a bit new to Perl. Does Perl have
a wait command

What happened when you just tried to read the documentation?
See "perldoc -f wait"
that will suspend on the command
for a determined amount of time?

You are not looking for wait(), you are looking for sleep().
Details see "perldoc -f sleep"

jue
 
B

beartiger

Jürgen Exner said:
What happened when you just tried to read the documentation?
See "perldoc -f wait"

You answer the question below. It described a function he was not
interested in.
You are not looking for wait(), you are looking for sleep().

You couldn't just give that information. No, you had to be a sarcastic
asshole first.


J
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top