Article View: pl.comp.lang.perl
Article #514Making a hash remember the order of the inserted elements
From: Magdalene Chua
Date: Fri, 15 Aug 1997 10:05
Date: Fri, 15 Aug 1997 10:05
8 lines
1128 bytes
1128 bytes
Is there any way I can make my hash remember the order in which I put elements into it? I read somewhere about Tie::IxHash that does exactly this, but I don't know how to use it. If anyone has any simple source code to demonstrate this function, I'll appreciate it very much. Thanks in advance. Magdalene Chua
Technical Details
Message-ID:
<33F42A07.716AB170@contact.com.sg>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!agh.edu.pl!uw.edu.pl!news.icm.edu.pl!newsfeed.nacamar.de!news-peer.sprintlink.net!news-sea-19.sprintlink.net!news-in-west.sprintlink.net!news.sprintlink.net!Sprint!128.223.220.26!arclight.uoregon.edu!newsserver.pacific.net.sg!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!agh.edu.pl!uw.edu.pl!news.icm.edu.pl!newsfeed.nacamar.de!news-peer.sprintlink.net!news-sea-19.sprintlink.net!news-in-west.sprintlink.net!news.sprintlink.net!Sprint!128.223.220.26!arclight.uoregon.edu!newsserver.pacific.net.sg!not-for-mail From: Magdalene Chua <mag@contact.com.sg> Newsgroups: comp.lang.perl.misc,comp.lang.perl.modules,pl.comp.lang.perl Subject: Making a hash remember the order of the inserted elements Date: Fri, 15 Aug 1997 18:05:59 +0800 Organization: CONTACT SembMedia Lines: 102 Message-ID: <33F42A07.716AB170@contact.com.sg> NNTP-Posting-Host: gateway.contact.com.sg Mime-Version: 1.0 X-Mailer: Mozilla 4.01 [en] (WinNT; I) X-Priority: 3 (Normal) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit