At 5:32 PM -0600 1/28/02, Billy Patton wrote:
>       hv = newHV();
>       hv_store(top,name->name,strlen(name->name),(SV*)hv,0);
>
>Here's the output I get from Data::Dumper
>Bizarre copy of HASH in each at
>/apps/perl5.005/lib/5.00502/Data/Dumper.pm line 309.
>
>What am I doing wrong?

Hash of hashes are really hashes of hash *references*, not actual 
HV*s. Take a reference to your new hash there and store it in top, 
not the hash pointer itself.
-- 
                                         Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                       teddy bears get drunk

Reply via email to