cvs commit: perlfaq perlfaq4.pod

[email protected] (brian d foy)
Newsgroups perl.cvs.perlfaq
Message-ID <[email protected]>
cvsuser     03/01/31 09:40:44

  Modified:    .        perlfaq4.pod
  Log:
  * How can I make my hash remember the order I put elements into it?
  	+ made answer faq friendly by quoting bareword argument to tie()
  
  Revision  Changes    Path
  1.42      +2 -2      perlfaq/perlfaq4.pod
  
  Index: perlfaq4.pod
  ===================================================================
  RCS file: /cvs/public/perlfaq/perlfaq4.pod,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -w -r1.41 -r1.42
  --- perlfaq4.pod	31 Jan 2003 17:36:16 -0000	1.41
  +++ perlfaq4.pod	31 Jan 2003 17:40:44 -0000	1.42
  @@ -1,6 +1,6 @@
   =head1 NAME
   
  -perlfaq4 - Data Manipulation ($Revision: 1.41 $, $Date: 2003/01/31 17:36:16 $)
  +perlfaq4 - Data Manipulation ($Revision: 1.42 $, $Date: 2003/01/31 17:40:44 $)
   
   =head1 DESCRIPTION
   
  @@ -1891,7 +1891,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;
       }
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.