Change 18605: [perl #20616] code example in the FAQ that isn't strict-friendly.

[email protected] (Rafael Garcia-Suarez)
Newsgroups perl.perl5.changes,perl.documentation
Message-ID <[email protected]>
Change 18605 by rgs@rgs-home on 2003/01/30 20:58:52

	[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) <[email protected]>
	Date: 30 Jan 2003 11:43:17 -0000
	Message-Id: <[email protected]>

Affected files ...

... //depot/perl/pod/perlfaq4.pod#81 edit

Differences ...

==== //depot/perl/pod/perlfaq4.pod#81 (text) ====
Index: perl/pod/perlfaq4.pod
--- perl/pod/perlfaq4.pod#80~18604~	Thu Jan 30 12:52:05 2003
+++ perl/pod/perlfaq4.pod	Thu Jan 30 12:58:52 2003
@@ -1870,7 +1870,7 @@
 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;
     }
End of Patch.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.