in reply to minimal game of life

(a very good website dedicated to John Conway's Game of Life)

Excellent! I just wanted to pop and warn any control freaks like myself not to be tempted to change your code. For example, i always find the prepended ampersand when calling a sub to be ... ugly. You can imagine my surprise when i changed &p and &l to p() and l() respectively. ;)

Also, this:

@_ = map { 0 } (1..$w*$h);
Can be written more efficiently as:
@_ = (0) x ($w*$h);
but that's just a minor nitpick. mayaTheCat++

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)