[Nashville-pm] How do I handle this?

David R. Wilson david at wwns.com
Thu Dec 16 00:35:51 CST 2004


I have a string that has multiple lines including cr/lf sequences
embedded in the string.

I am trying to send this to a file ie:
open (FILE,">file.txt");
print FILE "$string";
close (FILE);

if I add in a line "print $string" it will output the data to the
screen.  What is a good way around this?

Thanks



More information about the Nashville-pm mailing list