in reply to is rand random enough to simulate dice rolls?
But I dont wont to do a cryptographically secure application.
I just want to be sure that if I use rand to simulate a six sided die and I repaet the roll 10000 times I will get an average result of 3.5 as expected.
If that's the case, why bother? If the result is other than expected, just output that, a short remark about why this is bad, and let users of specific platforms scratch their own head :P
perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'
In Section
Seekers of Perl Wisdom