"\n" => "\r\n" in windows env.LOL. How can something be equal to itself plus something else? And the "windows env" is not a monolithic thing, its behaviour can be modified by binmode.
A better way to say it is: "\n" is written as "\015\012" in a windows environment if the filehandle has not been binmoded.
However in any environment '\n' is written as a backslash and the letter n. The OP has apparently somehow stuck his "\n"s inside single quotes and made them literals. I doubt very much that DBD::mysql::quote() does that, so it must be happening somewhere else in the OP's code.
-- Jeff.
