> > > > > my $hash = {}; > > > > > > while (my $rows = $response->fetchrow_hashref){ > > > $hash->{$rows->{task_ID}} = $rows; > > > } > > > > Why is hash declared as my $hash and not my %hash? > > and how does the > >
This creates an annonymous hash '{}' and stores a reference to that hash in $hash. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]