Comments: printf and Perl: hidden dangers

0 comments

Today I received an email by Roy Schestowitz. He reported a problem with one of my Perl scripts:
gpos.pl.
It seemed to return a lot of garbage with a specific query.
After careful examination of the Perl script I found the bug I had made: printf plus string interpolation in the format
string.