in reply to Re: Dice::di
in thread Dice::Die

Consider a two-sided die (marked 1 and 2)

You mean a coin? ;-)
I agree with chipmunk. I think you should create the object once, and then call a get_roll method from there.

ryddler

Replies are listed 'Best First'.
Re: Re: Re: Dice::di
by chipmunk (Parson) on Jan 06, 2001 at 02:37 UTC
    Consider a two-sided die (marked 1 and 2)

    You mean a coin? ;-)

    Yes, except I was trying to avoid ending up with (Heads + Tails) / 2. :)