X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperlfaq4.pod;h=aa6b6a56fc36625475f6014a5cd21c49ce01463c;hb=368c9434e40b3ef162b100271eb4d6a1dd886bbc;hp=633f5f109b7d5ed7ce1a1e0fc0c9c62b7c70ff44;hpb=9d9477b1b5a6ab420403942c0942c613290f7911;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perlfaq4.pod b/pod/perlfaq4.pod index 633f5f1..aa6b6a5 100644 --- a/pod/perlfaq4.pod +++ b/pod/perlfaq4.pod @@ -207,7 +207,7 @@ http://www.perl.com/CPAN/authors/David_Muir_Sharnoff/modules/Time/JulianDay.pm.g =head2 Does Perl have a year 2000 problem? Is Perl Y2K compliant? Short answer: No, Perl does not have a Year 2000 problem. Yes, -Perl is Y2K compliant. The programmers you're hired to use it, +Perl is Y2K compliant. The programmers you've hired to use it, however, probably are not. Long answer: Perl is just as Y2K compliant as your pencil--no more, @@ -378,7 +378,7 @@ There are a number of ways, with varying efficiency: If you want a count of a certain single character (X) within a string, you can use the C function like so: - $string = "ThisXlineXhasXsomeXx'sXinXit": + $string = "ThisXlineXhasXsomeXx'sXinXit"; $count = ($string =~ tr/X//); print "There are $count X charcters in the string";