Ah, so P() is 1 (the probablity of having anything happen).

Ok, you'd have to ammend my code with

return 1 if !@_:
at the top or something

Ron Steinke rsteinke@w-link.net

In reply to Re^3: recursive formula. by rsteinke
in thread recursive formula. by BioGeek

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":