<bikeshead> return round 1 + rand * $!sides; Might be good to refer to http://perlcabal.org/syn/S32/Containers.html for a more idiomatic way of picking an integer, eg "return (1..$sides).pick"
A "roll" method was just added, though I don't think its implemented yet. If you're only getting one value then "pick" and "roll" are the same. </bikeshead> -y