Thanks Brain
I have this script that I
ran
use Data::Dumper;
use IxHash;
print @INC;
my %hash;
tie %hash, "IxHash";
%hash = (
VAR1 =>
'DATA1',
VAR2 => 'DATA2',
VAR3
=> 'DATA3',
VAR4 => 'DATA4'
);
print Data::Dumper::Dumper(\%hash);
I got the following output
'VAR1'
=> 'DATA1',
'VAR2' =>
'DATA2',
'VAR3'
=>
\$VAR1->{'VAR1'},
'VAR4' => \$VAR1->{'VAR2'}
but I was expecting
'VAR1'
=> 'DATA1',
'VAR2' =>
'DATA2',
'VAR3'
=> 'DATA3',
'VAR4' => 'DATA4'
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
On Behalf Of
[EMAIL PROTECTED]
Sent: 07 June 2006 12:57
To:
[email protected]
Subject: IxHash and
Data::Dumper
> Hi
> I am using a hash with ordering and hence
used IxHash
> It solved all my problems expect for the final printing of
the Hash
> I was initially using Data::Dumper to print the Hash
>
now the same outputs the first 2 elements of HASH correctly and rest
of
them are not printed properly
> But if I print each element I am able to
get the data right
>
> Any suggestion or solution for
getting the hash printed thru Dumper or
any similar output
I'm
afraid that is a poor description of your problem. Just saying "not
printed
properly" does not tell us a great deal. I recommend posting a
small
(emphasis on small), self contained script that demonstrates your
problem.
Something that we can, if we wish, cut & paste & run
ourselves.
HTH
--
Brian
Raven
=================================
Atos Euronext Market
Solutions Disclaimer
=================================
The information
contained in this e-mail is confidential and solely for the intended
addressee(s). Unauthorised reproduction, disclosure, modification, and/or
distribution of this email may be unlawful.
If you have received this email
in error, please notify the sender immediately and delete it from your system.
The views expressed in this message do not necessarily reflect those of Atos
Euronext Market Solutions.
L'information contenue dans cet e-mail est
confidentielle et uniquement destinee a la (aux) personnes a laquelle
(auxquelle(s)) elle est adressee. Toute copie, publication ou diffusion de cet
email est interdite. Si cet e-mail vous parvient par erreur, nous vous prions
de bien vouloir prevenir l'expediteur immediatement et d'effacer le e-mail et
annexes jointes de votre systeme. Le contenu de ce message electronique ne
represente pas necessairement la position ou le point de vue d'Atos Euronext
Market
Solutions.
_______________________________________________
ActivePerl
mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs