in reply to Escaping % sign in a like string bound for SQL

why printf and not print?

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

  • Comment on Re: Escaping % sign in a like string bound for SQL

Replies are listed 'Best First'.
Re^2: Escaping % sign in a like string bound for SQL
by bfr7kq6 (Novice) on Nov 12, 2018 at 22:13 UTC
    Ugh. You're right; printf was the culpret. print showed it properly formatted ... and as it turned out, the SQL was being generated and passed correctly to the engine. My printf diagnostic commands were what was wrong.

    Ok, my bad, no issue. apologies.

      This happens to all of us.

      You're welcome! :)

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

        Thank you!