Title: RE: IxHash and Data::Dumper
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
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
Hi
I am writing a perl code which automatically forms
a function name using certain criteria and then calls the same
I have a run time error reporting function not
existing, if the function as such did not exist
But I would like the execution to continue
searching for other functions
So, is
Hi
I am trying to order the keys of a hash in the
order it was added
.i.e, I am adding elements in the hash one by one
and I want the printing of the hash in the same order
what should I do to get this happening
I thought of adding a count tag to each
key
But what can be a simpler solution
Tha