in reply to Can't make up my mind

Did you realize your code was equal to
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();