in reply to Re^2: Creating .csv file with comma
in thread Creating .csv file with comma

Hi again,

sprintf -- essential tool for avoiding hackery with interpolation and escaping.

push(@data, [ 1234565, 'Prototype', sprintf('Number in address is %s. Please, Please check your record +s.', $number), ]);
(I advise always using parens with push and any function that will slurp up whatever's left on the line as args...)

Hope this helps!


The way forward always starts with a minimal test.