![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re: rand() function on Windows systemsby BrowserUk (Patriarch) |
on Dec 30, 2016 at 20:32 UTC ( #1178680=note: print w/replies, xml ) | Need Help?? |
If you install Inline::C you can access the MS CRT rand() & srand() and wrap them in your own wrappers. The following code produces 56 (which is the same as I get from Perl's built-ins for 5.10). You might try it on your system and see how it compares:
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|