[OAI-implementers] Order of keys in hashes
Ramon Martins Sodoma da Fonseca
ramon@ibict.br
Wed, 25 Sep 2002 15:34:26 -0300
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_000_01C264C2.2CF98BE0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Does anyone know why Perl changes the order of keys in a hash??
I need the order to be the following:
my %afiliacao =3D (
Nome =3D> $tupla11[4],
Sigla =3D> $tupla11[5],
Pais =3D> $tupla11[6],
UF =3D> $tupla11[7],
CNPJ =3D> $tupla11[8], **
URL =3D> $tupla11[9],
instead of printing the order above in the XML, it prints the =
following:
<Afiliacao>=20
<Nome>Biblioteca Digital de Teses e Disserta=E7=F5es</Nome>=20
<Sigla>BDTD</Sigla>=20
<CNPJ>123456</CNPJ> **
<Pais>BRA</Pais>=20
<UF>DF</UF>=20
<URL>http://www.ibict.br/bdtd/</URL>=20
</Afiliacao>=20
................................................
Ram=F3n Fonseca
Design Gr=E1fico & Multim=EDdia
Desenvolvimento Web
ramal: 6443
6447
................................................
------_=_NextPart_000_01C264C2.2CF98BE0
Content-Type: application/ms-tnef
Content-Transfer-Encoding: base64
eJ8+Ih0SAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQWAAwAOAAAA0gcJABkADwAiABoAAwBJAQEggAMADgAAANIHCQAZ
AA8AIgAbAAMASgEBCYABACEAAABENzYzMTFGQUE5RDBENjExOTg5MzAwMDBFMjIyRjJFQgAOBwEE
gAEAGAAAAE9yZGVyIG9mIGtleXMgaW4gaGFzaGVzAGAIAQ2ABAACAAAAAgACAAEDkAYAFAgAAC0A
AAADAACACCAGAAAAAADAAAAAAAAARgAAAABShQAA8xUAAB4AAYAIIAYAAAAAAMAAAAAAAABGAAAA
AFSFAAABAAAABQAAADguMDQAAAAAAwADgAggBgAAAAAAwAAAAAAAAE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