in reply to Delaying a loop for a specified time
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/;
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!,
- ChOas
print "profeth still\n" if /bird|devil/;
In Section
Seekers of Perl Wisdom