|Just another Perl shrine|
Re: Delaying a loop for a specified timeby ChOas (Curate)
|on Aug 21, 2001 at 15:00 UTC||Need Help??|
sleep(number of seconds to sleep);
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...
print "profeth still\n" if /bird|devil/;