regarding MySQL::constrain() function

There are odd linebreaks in the sql statements, is there any special
functionality here that I'm missing?

Because if not, I would just "trim()" them.