"\" {slash} is one of the special {reserved} characters like "."  ,   ";" ,
and many others.

All these special {reserved} characters need the "\" symbol to process it
to be able to be viewed

www.hostingelmira.com\testdir\test.html
would equal
www\.hostingelmira\.com\\testdir\\test\.html

Check your Perl manual
It should have a routine to convert
text with these special characters to text with the
"\" {slash} added.

I know PHP has it, so Perl should have it too.

If you want, I will look for the string conversion routine
in my Perl documentation.



********************************************

----- Original Message -----
From: "Connie Chan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 18, 2002 4:57 PM
Subject: How do you print 'C:\' ?


> I wonder why ... I can't write a line like this :
> print 'C : \ ';
> but have to :  print 'C : \ \ ';
> however, I can : print 'C:\A_Dir\B_SubDir';
> The last ' is escaped, why ??
>
> Rgds,
> Connie
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to