D
D. Alvarado
I have a hash
%sqlUpdatePairs
whose key and value are both scalar strings. What I would like is a
resulting string, resembling
"COL1 = 'val1', COL2 = 'val2', COL3 = 'val3'"
assuming my hash had only 3 entries, referenced by the keys "COL1",
"COL2", and "COL3" whose respective values were "val1", "val2", and
"val3" (note that the values have no apostraphes).
Anyone know a one line (or at worst two line) way I can form the
desired string out of my hash?
Much apprecation - Dave
%sqlUpdatePairs
whose key and value are both scalar strings. What I would like is a
resulting string, resembling
"COL1 = 'val1', COL2 = 'val2', COL3 = 'val3'"
assuming my hash had only 3 entries, referenced by the keys "COL1",
"COL2", and "COL3" whose respective values were "val1", "val2", and
"val3" (note that the values have no apostraphes).
Anyone know a one line (or at worst two line) way I can form the
desired string out of my hash?
Much apprecation - Dave