in reply to UnEscaping text...

You are confusing the value of the string with the literal representation of it. The string literal 'c:\\temp' has a value that is 7 chars long.

> perl -e "print join ' ', split '', 'c:\\temp'" c : \ t e m p

Christian Lemburg
Brainbench MVP for Perl
http://www.brainbench.com

Replies are listed 'Best First'.
Re: Re: UnEscaping text...
by Rabotnik (Initiate) on Aug 14, 2001 at 12:23 UTC
    Hi! I am no longer anonymous :) The text file allready contains literal representation, so when i read from it i get a "literal representation of a literal representation", which is one lit. rep. too many :)