🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.perl
Article #512

How do I make my hash remember the order elements are inserted?

#512
From: Magdalene Chua
Date: Fri, 15 Aug 1997 09:57
8 lines
1152 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: <33F42822.9AE18B91@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!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

Show 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!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: How do I make my hash remember the order elements are inserted?
Date: Fri, 15 Aug 1997 17:57:54 +0800
Organization: CONTACT SembMedia
Lines: 103
Message-ID: <33F42822.9AE18B91@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