http://www.perlmonks.org?node_id=1136696

while (each %day) { join #perl wait && wait && wait; sleep 60 * 60 * int(rand(7)); }