summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorben@linuxgazette.net <ben@linuxgazette.net>2007-10-02 14:33:49 -0700
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-10-03 09:46:26 +0000
commit784d65669fb2d2ea566b66a827c634dad55dea06 (patch)
treee1da3ca9a5f2ed35d42625d05a71f2b9b2f38bde /pod
parentf04ea8d1ef8c594dcbd54b7378d4583f9254bd1d (diff)
downloadperl-784d65669fb2d2ea566b66a827c634dad55dea06.tar.gz
[perl #46019] Documentation for 'srand' has a problem in code snippet
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
Diffstat (limited to 'pod')
-rw-r--r--pod/perlfunc.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 49df408af4..a037970044 100644
--- 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.