Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Delaying a loop for a specified timeby ChOas (Curate) |
on Aug 21, 2001 at 15:00 UTC ( [id://106511]=note: print w/replies, xml ) | Need Help?? |
sleep(number of seconds to sleep); or select(undef,undef,undef,(number of seconds to sleep)); When using select you can use millisecond timing like filling in 0.5 for a 500 millisecond sleep... GreetZ!,
print "profeth still\n" if /bird|devil/;
In Section
Seekers of Perl Wisdom
|
|