in reply to Sending a hash to a stored proc

It's very unclear what your trying to do. Are you trying to pass the hash keys and/or values as arguments to a stored procedure?
Maybe you want something like:
$sqlstmt = 'EXECUTE TestProcedure ('.join(",", values %hash).')'; Or to quote the values: $sqlstmt = 'EXECUTE TestProcedure ('.join(",", map {"'".$_."'"} values + %hash).')';
That will give you an unordered list of the hash's values, which is unlikely to be what you want. If you need more help, you'll have to be more explicit about what you're trying to do.