projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f04ea8d
)
[perl #46019] Documentation for 'srand' has a problem in code snippet
author
ben@linuxgazette.net
<ben@linuxgazette.net>
Tue, 2 Oct 2007 21:33:49 +0000
(14:33 -0700)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Wed, 3 Oct 2007 09:46:26 +0000
(09:46 +0000)
From: ben@linuxgazette.net (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-5916-
1191386029
-1116.46019-75-0@perl.org>
p4raw-id: //depot/perl@32011
pod/perlfunc.pod
patch
|
blob
|
history
diff --git
a/pod/perlfunc.pod
b/pod/perlfunc.pod
index
49df408
..
a037970
100644
(file)
--- a/
pod/perlfunc.pod
+++ b/
pod/perlfunc.pod
@@
-5870,7
+5870,7
@@
than the default seed. Checksumming the compressed output of one or more
rapidly changing operating system status programs is the usual method. For
example:
- srand (time ^ $$ ^ unpack "%L*", `ps axww | gzip`);
+ srand (time ^ $$ ^ unpack "%L*", `ps axww | gzip
-f
`);
If you're particularly concerned with this, see the C<Math::TrulyRandom>
module in CPAN.