summaryrefslogtreecommitdiff
path: root/pod/perlfaq4.pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-11-27 12:50:08 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-11-27 12:50:08 +0000
commit9a4da9311d34e77ffdec7b888a8a3f66535ff14e (patch)
tree306e54b76281cdc1bb0f902098124fd1a52c95ed /pod/perlfaq4.pod
parent901b18f1f40355e1c6bf8f01f58203410eb7eabb (diff)
parent80d06f2dff03a52147744439d4888c6bef091986 (diff)
downloadperl-9a4da9311d34e77ffdec7b888a8a3f66535ff14e.tar.gz
integrate cfgperl changes into mainline
p4raw-id: //depot/perl@2318
Diffstat (limited to 'pod/perlfaq4.pod')
-rw-r--r--pod/perlfaq4.pod6
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perlfaq4.pod b/pod/perlfaq4.pod
index 633f5f109b..39325c2f69 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<tr///> function like so:
- $string = "ThisXlineXhasXsomeXx'sXinXit":
+ $string = "ThisXlineXhasXsomeXx'sXinXit";
$count = ($string =~ tr/X//);
print "There are $count X charcters in the string";
@@ -1326,7 +1326,7 @@ The Data::Dumper module on CPAN is nice for printing out
data structures, and FreezeThaw for copying them. For example:
use FreezeThaw qw(freeze thaw);
- $new = thaw freeze $old;
+ ($new) = thaw freeze $old;
Where $old can be (a reference to) any kind of data structure you'd like.
It will be deeply copied.