Modulo is spelled $variable % 4 in Perl, see perlop.
In reply to Re: help with sleep() by moritz in thread help with sleep() by lsxo