in reply to string interpolation

That's a printf like interpolation (and % always had its special meaning in printf), where the extra spaces are padding because your pattern is "% - 206p". I'm not sure why there's a difference of 8 between that number and the number of spaces, since the interpolated value (eg: 789f78) is only 6 chars long though.

Anyway, there's no printf in your code, so I'd say either you're reading from the wrong file, or it does not contains what you think, or the code you provided is not all that you do.

Replies are listed 'Best First'.
Re^2: string interpolation
by LloydRice (Beadle) on Feb 10, 2017 at 14:08 UTC
    You called it, Eily. Actually, several replies said I might have different versions of the code. And that was correct. I had switched between print and printf. When I used print, it worked OK. It was the printf that was doing the interpolation. That's good to know.