I tried by the same syntax. $line =~ s/\\/\//s;

It works fine.

----- Original Message ----- 
From: Konstantin Berman <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 25, 2001 1:54 PM
Subject: change \ to /


> Hi.
> All I want is to change \ to / .
> The \ is in the variable $line, so I run the command:
> $line=~s/\\/\//;
> But it doesn't change anything. Can anyone please help?
> 
> Thanks in advance.
> 
> 
> -- 
> 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