rand(%{'rand'}) ? shit() : get_off_the_pot();
I noticed the above when I realized that the following would give divide by zero errors.
(rand() % rand()) ? shit() : get_off_the_pot();
perlmonks.org content © perlmonks.org and CaMelRyder, ikegami, innominate
prlmnks.org © 2006 edmund von der burg (eccles & toad)
v 0.03