Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by kennethk (Monsignor)
on May 08, 2013 at 20:08 UTC ( #1032670=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ~$ perl -e 'open $rnd, "<", "/dev/random"; read $rnd, $value, 4;  prin
    +t "Value = ", unpack ("H*", $value), "\n"'
    Value = 0de13803
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2014-07-11 03:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (217 votes), past polls