in reply to Re: Re: Storing multi-line form data in a flat file?
in thread Storing multi-line form data in a flat file?
If you want to replace the line breaks with some other character, place the replacement character between the 2nd and 3rd slashes.$text =~ tr/\n\r//;
When you want to translate it back to it's original form, use CGI::unescape();$text = CGI::escape($text);
|
|---|