Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Perl only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
Perl
take delay in PERL
take delay in PERL
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Arepi
New Member
Join Date:
Sep 2008
Posts:
62
#1
take delay in PERL
Oct 14 '08, 04:23 PM
Hi!
Are in PERL any function for make delay?
Like in C delay(milisecon ds); .
Thanks!
numberwhun
Recognized Expert
Moderator
Specialist
Join Date:
May 2007
Posts:
3467
#2
Oct 14 '08, 04:47 PM
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.or g.
Regards,
Jeff
Comment
Post
Cancel
KevinADC
Recognized Expert
Specialist
Join Date:
Jan 2007
Posts:
4092
#3
Oct 14 '08, 07:54 PM
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
Client Challenge
http://search.cpan.org/~jhi/Time-HiRes-1.9715/HiRes.pm
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment