in reply to Re^2: serialze text in a file
in thread serialze text in a file

Yes, my code does a simple text substitution, replacing a single digit (0 through 9) with the value in the $i variable.