in reply to Re: replacing carriage return line feed usinf chr()
in thread replacing carriage return line feed usinf chr()

you really, really should follow jeffa's advice and use DBI's placeholders to handle this kind of thing. your solution handles \r and \n but if $a has a ')' or a quote or any other weird character that you haven't accounted for, it will still break. your solution at best is fragile and at worst could become a security hole. placeholders are the Right ThingTM.

anders pearson

  • Comment on Re: Re: replacing carriage return line feed usinf chr()