Hi, I'm just reading through your excellent documentation and noticed a 
small error in the following section;

http://mojolicious.org/perldoc/Mojolicious/Guides/Routing#Adding-conditions

The comment suggests the a winner will occur 25% of the time, but based on 
the logic, it will be approximately 75%.

Either the comment should be changed, or the 'unless' should be an 'if' 
which would change the success rate to the 25% value;

# Loser
    return undef if int rand $num;

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to