Article View: pl.comp.lang.perl
Article #513How do I make my hash remember the order elements are inserted?
From: Magdalene Chua
Date: Fri, 15 Aug 1997 10:02
Date: Fri, 15 Aug 1997 10:02
8 lines
1074 bytes
1074 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:
<33F42923.15BCADF3@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!howland.erols.net!vixen.cso.uiuc.edu!news-out.internetmci.com!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!howland.erols.net!vixen.cso.uiuc.edu!news-out.internetmci.com!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: How do I make my hash remember the order elements are inserted? Date: Fri, 15 Aug 1997 18:02:11 +0800 Organization: CONTACT SembMedia Lines: 103 Message-ID: <33F42923.15BCADF3@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