in reply to string interpolation

Clearly, the percent character is suspicious. But when did it get its special meaning?

From printf and friends. I suspect that somewhere in your original code you are accidentally doing some printf-like formatting. Can you provide an SSCCE?

Replies are listed 'Best First'.
Re^2: string interpolation
by LloydRice (Beadle) on Feb 10, 2017 at 14:20 UTC
    hippo, you and several others pointed out the difference between print and printf regarding interpolation. Most of my Perl info is from the llama and camel books. I just rechecked and neither one is very clear about this issue between the two. I have always used them more or less interchangeably. This is good to know. Lloyd