diff options
author | Andy Lester <andy@petdance.com> | 2005-06-02 11:19:54 -0500 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-06-03 08:04:25 +0000 |
commit | b432a67249666bce4aa3385263660dc667d150d7 (patch) | |
tree | d7fccc07dbacb727f1e2d96499970be0b3682421 /pod/perlfaq4.pod | |
parent | 3a205795a9fa8c21e484e9a8efe6e9257c24bd1e (diff) | |
download | perl-b432a67249666bce4aa3385263660dc667d150d7.tar.gz |
Quotes in pod/*.pod
Message-ID: <20050602211954.GA22107@petdance.com>
p4raw-id: //depot/perl@24686
Diffstat (limited to 'pod/perlfaq4.pod')
-rw-r--r-- | pod/perlfaq4.pod | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pod/perlfaq4.pod b/pod/perlfaq4.pod index 67ab210b60..5f305681c2 100644 --- a/pod/perlfaq4.pod +++ b/pod/perlfaq4.pod @@ -349,16 +349,16 @@ Computers are good at being predictable and bad at being random (despite appearances caused by bugs in your programs :-). see the F<random> article in the "Far More Than You Ever Wanted To Know" collection in http://www.cpan.org/misc/olddoc/FMTEYEWTK.tgz , courtesy of -Tom Phoenix, talks more about this. John von Neumann said, ``Anyone +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.'' +course, living in a state of sin." If you want numbers that are more random than C<rand> with C<srand> provides, you should also check out the Math::TrulyRandom module from CPAN. It uses the imperfections in your system's timer to generate random numbers, but this takes quite a while. If you want a better pseudorandom generator than comes with your operating system, look at -``Numerical Recipes in C'' at http://www.nr.com/ . +"Numerical Recipes in C" at http://www.nr.com/ . =head2 How do I get a random number between X and Y? @@ -532,8 +532,8 @@ C<$timestamp = gmtime(1005613200)> sets $timestamp to "Tue Nov 13 01:00:00 That doesn't mean that Perl can't be used to create non-Y2K compliant programs. It can. But so can your pencil. It's the fault of the user, -not the language. At the risk of inflaming the NRA: ``Perl doesn't -break Y2K, people do.'' See http://www.perl.org/about/y2k.html for +not the language. At the risk of inflaming the NRA: "Perl doesn't +break Y2K, people do." See http://www.perl.org/about/y2k.html for a longer exposition. =head1 Data: Strings @@ -553,7 +553,7 @@ and C<Data::Validate::IP>. =head2 How do I unescape a string? -It depends just what you mean by ``escape''. URL escapes are dealt +It depends just what you mean by "escape". URL escapes are dealt with in L<perlfaq9>. Shell escapes with the backslash (C<\>) character are removed with @@ -2037,7 +2037,7 @@ function. Its semantics are somewhat cumbersome, so here's a C<getnum> wrapper function for more convenient access. This function takes a string and returns the number it found, or C<undef> for input that isn't a C float. The C<is_numeric> function is a front end to C<getnum> -if you just want to say, ``Is this a float?'' +if you just want to say, "Is this a float?" sub getnum { use POSIX qw(strtod); |