On Wed, 2004-09-29 at 14:37, Edward Wijaya wrote: > Hi, Hi.
> I have this HoH: > my %HoH = ( > firstkey => { A => 'blabla', > B => 'dadada', > C => 'tititi',} > ); > > generated with > > $HoH{$fkey}{$alpha}=$text; > > how can I access the value > of the first key, so that it gives: "firstkey" If I understood this correctly, you want to do this: print $fkey; HTH, :-) jac > I tried this with no avail: > > print "$HoH{$fkey}\n" > > > > Regards, > Edward WIJAYA > SINGAPORE -- José Alves de Castro <[EMAIL PROTECTED]> http://natura.di.uminho.pt/~jac -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>