Solved

How to delay time by a second

Posted on 1999-01-28
4
923 Views
Last Modified: 2006-11-17
What is the syntax for perl 5 running in windows environment to delay time by 1 second
0
Comment
Question by:royko
4 Comments
 
LVL 84

Expert Comment

by:ozo
Comment Utility
sleep 1;
0
 
LVL 51

Expert Comment

by:ahoffmann
Comment Utility
.. approximately 1 second ;-)
ozo, post your (modified) code from the "milli seconds" question to do it exactly.
0
 
LVL 2

Expert Comment

by:bertvermeerbergen
Comment Utility
Wow, if perl is able to delay time, why all the rush to get the Y2K problem fixed ?
0
 

Accepted Solution

by:
meskola earned 50 total points
Comment Utility
Use:
sleep(1);
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now