http://perldoc.perl.org/functions/rand.html
# [0, 1)
$ perl -e 'print rand'
# [0, 9) integer
$ perl -e 'print int rand 10'
'Programming' 카테고리의 다른 글
Functional programming is a ghetto (0) | 2012.07.25 |
---|---|
Using Windows Python from Cygwin (0) | 2012.07.25 |
(video) Organizing Functional Code for Parallel Execution; or, foldl and foldr Considered Slightly Harmful (0) | 2012.07.24 |
What else is there in Python? (0) | 2012.07.24 |
Java String.equals versus == (0) | 2012.07.23 |