in reply to UnEscaping text...

Hello

Let's start from the beginning:

Your file contains the string c:\temp. When perl reads that file, the string representation of that line would be c : \ t e m p. Perl does not add an additional \ to that line. You do not need to do any escaping/unescaping. And no, perl does not escape the line when it's read and unescapes it when it is printed. It keeps the line as is.

Try this:

open F, "<myfile" or die "Cannot open myfile: $!\n"; my $str = <F>; print join'|',split//,$str;
Hope his helps,,,

Aziz,,,