summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorBeckett Richard-qswi266 <unknown>2003-01-30 11:43:17 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-01-30 20:58:52 +0000
commit5f8d77f137e503ce8824c31ce9f3a5e8bd4ec726 (patch)
treef7eb3c31624ac91ac930631b50511cbc5f6f6674 /pod
parent04d666b12563dfde61714b0a22a39c0eb94d4f16 (diff)
downloadperl-5f8d77f137e503ce8824c31ce9f3a5e8bd4ec726.tar.gz
[perl #20616] code example in the FAQ that isn't strict-friendly.
Subject: [perl #20616] Tie::IxHash doc error. From: Beckett Richard-qswi266 (via RT) <perlbug-followup@perl.org> Message-Id: <rt-20616-49904.16.891027432675@bugs6.perl.org> p4raw-id: //depot/perl@18605
Diffstat (limited to 'pod')
-rw-r--r--pod/perlfaq4.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlfaq4.pod b/pod/perlfaq4.pod
index b77567a2c6..b641d5845e 100644
--- a/pod/perlfaq4.pod
+++ b/pod/perlfaq4.pod
@@ -1870,7 +1870,7 @@ it on top of either DB_File or GDBM_File.
Use the Tie::IxHash from CPAN.
use Tie::IxHash;
- tie my %myhash, Tie::IxHash;
+ tie my %myhash, 'Tie::IxHash';
for (my $i=0; $i<20; $i++) {
$myhash{$i} = 2*$i;
}