From: Beckett Richard-qswi266 Date: Thu, 30 Jan 2003 11:43:17 +0000 (+0000) Subject: [perl #20616] code example in the FAQ that isn't strict-friendly. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5f8d77f137e503ce8824c31ce9f3a5e8bd4ec726;p=p5sagit%2Fp5-mst-13.2.git [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) Message-Id: p4raw-id: //depot/perl@18605 --- diff --git a/pod/perlfaq4.pod b/pod/perlfaq4.pod index b77567a..b641d58 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; }