in reply to SQL Questions

this should do it:
for (keys %$ref) { $data{$_} = $ref->{$_}; }
---- kurt

Replies are listed 'Best First'.
Re^2: SQL Questions
by tadman (Prior) on Jul 08, 2002 at 10:05 UTC
    That was kind of a lacklustre answer, wasn't it?

    Either way, you could be doing this:
    @data{keys %$ref} = values %$ref;
    No for loop, one line, no fuss.