NAME

RPG::Dice - emulate rolling dice

VERSION

version 0.5

SYNOPSIS

use RPG::Dice;
# Single six sided dice
my $d1 = RPG::Dice->new('1d6'); 
# Two six sided dice 
my $d2 = RPG::Dice->new('2d6');

#
# 1 <= $x <= 6
my $x = $d1->roll();

METHODS

roll

This performs the actual dice roll

AUTHOR

Peter L. Berghold <peter@berghold.net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Peter L. Berghold.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.