At 22:17 06/05/2002 -0700, Kevin wrote: >I am reading a DBI record into a hash reference - my $row = >$sth->fetchrow_hashref() - I would like to create a hash to hold all of the >returned rows (or thus, hashes) with the ID being the key, so for example > >$returned_rows{$row->{'ID'}} = $row
$I_ama_has_ref = {}; $i_ama_hash_ref->{im_a_key} = "A simple key"; $i_ama_hash_ref->{ima_key2} = {}; # key points to a hash $i_ama_hash_ref->{ima_key2}->{"I'm a value")="I'm a key"; _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs