By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,852 Members | 2,198 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,852 IT Pros & Developers. It's quick & easy.

take delay in PERL

P: 62
Hi!

Are in PERL any function for make delay?
Like in C delay(miliseconds); .

Thanks!
Oct 14 '08 #1
Share this Question
Share on Google+
2 Replies


numberwhun
Expert Mod 2.5K+
P: 3,503
I can only assume that you want to use this to allow a process to finish. If so, then you can use the "wait" command. Look it up on perldoc.perl.org.

Regards,

Jeff
Oct 14 '08 #2

KevinADC
Expert 2.5K+
P: 4,059
Jeff is having a hard time currently, I think he meant to suggest the sleep() function. But for sleep() times less than a second you probably need Time::HiRes

http://search.cpan.org/~jhi/Time-HiRes-1.9715/HiRes.pm
Oct 14 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.