X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperlfaq4.pod;h=f602d24b27527049750f198887d0477435ce0d01;hb=8a36125691db1d8f79e98507373cbc6ea47271d4;hp=6cd2d9a93eba9809c159f9343638ba4ea1a29f7e;hpb=6761e06430101eb50241c565c108c3acbe8ce89a;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perlfaq4.pod b/pod/perlfaq4.pod index 6cd2d9a..f602d24 100644 --- a/pod/perlfaq4.pod +++ b/pod/perlfaq4.pod @@ -1,6 +1,6 @@ =head1 NAME -perlfaq4 - Data Manipulation ($Revision: 1.6 $, $Date: 2001/10/23 04:39:28 $) +perlfaq4 - Data Manipulation ($Revision: 1.8 $, $Date: 2001/11/09 08:06:04 $) =head1 DESCRIPTION @@ -225,7 +225,7 @@ Using pack and unpack for larger strings substr("0" x 32 . "11110101011011011111011101111", -32))); $dec = sprintf("%d", $int); - Substr() is used to left pad a 32 character string with zeros. + # substr() is used to left pad a 32 character string with zeros. Using Bit::Vector: @@ -322,7 +322,7 @@ will not create a list of 500,000 integers. =head2 How can I output Roman numerals? -Get the http://www.perl.com/CPAN/modules/by-module/Roman module. +Get the http://www.cpan.org/modules/by-module/Roman module. =head2 Why aren't my random numbers random? @@ -334,7 +334,7 @@ than more. Computers are good at being predictable and bad at being random (despite appearances caused by bugs in your programs :-). -http://www.perl.com/CPAN/doc/FMTEYEWTK/random , courtesy of Tom +http://www.cpan.org/doc/FMTEYEWTK/random , courtesy of Tom Phoenix, talks more about this. John von Neumann said, ``Anyone who attempts to generate random numbers by deterministic means is, of course, living in a state of sin.'' @@ -1473,7 +1473,7 @@ If you need to sort on several fields, the following paradigm is useful. This can be conveniently combined with precalculation of keys as given above. -See http://www.perl.com/CPAN/doc/FMTEYEWTK/sort.html for more about +See http://www.cpan.org/doc/FMTEYEWTK/sort.html for more about this approach. See also the question below on sorting hashes.