Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: generate random number without using any built in function in perl?

by Anonymous Monk
on May 09, 2013 at 07:11 UTC ( #1032734=note: print w/ replies, xml ) Need Help??


in reply to Re^3: generate random number without using any built in function in perl?
in thread generate random number without using any built in function in perl?

a shot in the dark guess, it might be the size of IV, I mostly get one key, and once or twice every 20 runs two :)

$ perl -V:ivsize ivsize='4'; $ perl fudge { 22 => 10000 } $ perl fudge { 4 => 8268, 11 => 1732 }


Comment on Re^4: generate random number without using any built in function in perl?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2015-07-02 01:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (25 votes), past polls