Re: how to print dual key hash..

2007-10-27 Thread Jenda Krynicky
From: mAyur <[EMAIL PROTECTED]> > By the way, newBee, I have doubt abt ur code is it working? I am just > printing ur code again, with line numbers Are you trying to be kewl or just can't spell? "abt"? "ur"? > 1: foreach $document(@documents){ > 2: $valueOfTermD = 0; > 3: $powerO

Re: how to print dual key hash..

2007-10-27 Thread mAyur
On Oct 26, 6:07 am, [EMAIL PROTECTED] (newBee) wrote: > I have the fallowing code segment in my code. I want to print my > > foreach $document(@documents){ > $valueOfTermD = 0; > $powerOfTermD = 0; > foreach $term(keys %termWeightHash){ > if($termWeightHash{$

how to print dual key hash..

2007-10-26 Thread newBee
I have the fallowing code segment in my code. I want to print my foreach $document(@documents){ $valueOfTermD = 0; $powerOfTermD = 0; foreach $term(keys %termWeightHash){ if($termWeightHash{$term}{$document}){ $powerOfTermD = $powerOf

Re: how to print dual key hash..

2007-10-26 Thread Jeff Pang
On 10/26/07, newBee <[EMAIL PROTECTED]> wrote: > I have the fallowing code segment in my code. I want to print my > %termWeightHash to see if i have correct data at the end of the this > computation. Since this hash has two keys(I guess way to think that is > hash within) I am not sure how to print

how to print dual key hash..

2007-10-26 Thread newBee
I have the fallowing code segment in my code. I want to print my %termWeightHash to see if i have correct data at the end of the this computation. Since this hash has two keys(I guess way to think that is hash within) I am not sure how to print it.. regular one key has i could print like this...