Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Re: Wacky Happy Fun Genuine Coin Flipping Software OK!

by Cybercosis (Monk)
on Jun 05, 2001 at 10:53 UTC ( #85718=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Wacky Happy Fun Genuine Coin Flipping Software OK!
in thread Wacky Happy Fun Genuine Coin Flipping Software OK!

Well... (completely untested)
use HotBits; my $x = new HotBits::; my $n1 = $x->request (1); ($n1 & 1) ? print "Heads\n" : print "Tails\n";
Okay, I lied and just tested it, and it's giving me all heads. Maybe i'm just being lucky =-) (it's entirely more likely that I'm just being buggy)

~Cybercosis nemo accipere quod non merere

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://85718]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2022-11-28 17:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?