in reply to string interpolation

Try

print NS52 $new, "\n";

so that no interpolation takes place.

Update: Corrected /n to \n, thanks MidLifeXis.

Cheers,

JohnGG

Replies are listed 'Best First'.
Re^2: string interpolation
by LloydRice (Beadle) on Feb 10, 2017 at 13:53 UTC
    John, This one sounded like it would work. Sadly, it did not help. I now understand that what happened is that printf forces interpolation with or without the double-quotes.