From: ben@linuxgazette.net Date: Tue, 2 Oct 2007 21:33:49 +0000 (-0700) Subject: [perl #46019] Documentation for 'srand' has a problem in code snippet X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=784d65669fb2d2ea566b66a827c634dad55dea06;p=p5sagit%2Fp5-mst-13.2.git [perl #46019] Documentation for 'srand' has a problem in code snippet From: ben@linuxgazette.net (via RT) Message-ID: p4raw-id: //depot/perl@32011 --- diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 49df408..a037970 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 module in CPAN.