How to delay time by a second

What is the syntax for perl 5 running in windows environment to delay time by 1 second
roykoAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
meskolaConnect With a Mentor Commented:
Use:
sleep(1);
0
 
ozoCommented:
sleep 1;
0
 
ahoffmannCommented:
.. approximately 1 second ;-)
ozo, post your (modified) code from the "milli seconds" question to do it exactly.
0
 
bertvermeerbergenCommented:
Wow, if perl is able to delay time, why all the rush to get the Y2K problem fixed ?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.