Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Re: Dice::di

by ryddler (Monk)
on Jan 05, 2001 at 21:33 UTC ( [id://50162]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 05, 2001 at 21: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. :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://50162]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.