in reply to Sending a hash to a stored proc
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.$sqlstmt = 'EXECUTE TestProcedure ('.join(",", values %hash).')'; Or to quote the values: $sqlstmt = 'EXECUTE TestProcedure ('.join(",", map {"'".$_."'"} values + %hash).')';
|
|---|