T'is easier with threads:
#! perl -slw use strict; use threads; my $run = 0; while( 1 ) { async { my $gna; for ( 'aaaaa' .. 'bbbbb' ) { $gna = uc; } }->detach; sleep 1; printf "\r%d", ++$run; }
In reply to Re: fork() doesn't care about my sleep()?
by BrowserUk
in thread fork() doesn't care about my sleep()?
by ap0calypse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |