in reply to Using (s)printf()

sometime seems if the second parameter including a '%', if I need use printf to output in a file like csv. I always need using $print_out =~ s/%/%%/g; to replace the % to %% and then print in the file. I am not sure whether we have the better solution on this kinds of issue.