=====Original Message=====
>From :manojkumarg@[EMAIL PROTECTED]
>To :John W. Krahn <krahnj@[EMAIL PROTECTED]
>;
>Cc :Perl Beginners <beginners@[EMAIL PROTECTED]
>;
>Date:Fri Apr 18 13:51:58 CST 2008
>Subject:Re: CSV duplicate
>
>I haven't seen hash used in this format.
>$data{ $val1 }{ $val2 }++; Can yor please tell what this means?
>
It's a hash with two levels of keys.
That's to say, %data is a hash, $data{$val1} refer to an anonymous hash
(the second level hash), $data{$val1}{$val2} get the second level hash's
value via the key $val2.
using Data::Dumper you will see the data stru clearly.