$m &= $n == 4; $m |= $n == 3; __END__ Game of Life! Matrix: PDL: Long D [2000,2000], 10 generations Faster+: 0.677 s