Perl: the Markov chain saw | |
PerlMonks |
Re: SImulation of an Inventory.by frozenwithjoy (Priest) |
on Jun 23, 2012 at 02:49 UTC ( [id://977929]=note: print w/replies, xml ) | Need Help?? |
If you'd like to incorporate dice rolls beyond using rand(), you should take a look at Games::Dice. For example roll '3d6+1' will return a value from 4 to 19.
In Section
Seekers of Perl Wisdom
|
|