18.191.223.123 |    

Navigation

Google Advertisement

Mit der Perl Funktion select kann man ein sleep in Millisekunden erreichen.

sleep
  1. # Time to wait in milliseconds (0.25 => 250)
  2. my $waiting = 0.25;
  3.  
  4. while (1) {
  5. 	print "Hallo World!\n";
  6.  
  7. 	# sleep of $waiting milliseconds
  8. 	select( undef, undef, undef, $waiting );
  9. }
Parsed in 0.001 seconds at 179.57 KB/s

Search
 
Full text search by name and content of a snippet.

User online
There are 3 users online.

Tags Cloud

Latest snippets
str2seconds
(Bash::Function)
is_integer
(Bash::Function)
file_rotate
(Bash::Function)
confirm
(Bash::Function)
is_workingtime
(Bash::Function)
last day of last month
(Bash::Snippets)
crypt_apr1_md5
(PHP::Function)
crypt_apr1_md5
(Perl::Function)
transparent
(CSS)
rfc2822Toiso8601
(PHP::Function)