in reply to help with sleep()
Modulo is spelled $variable % 4 in Perl, see perlop.
There's no need to be sorry, just remember to ask your questions with detail and show some code if possible. On the other hand, sharing your solution may help other fellow monks and yourself too if there's room for improvement.
Sharing is caring :)