On 27 Jun 2001 16:11:56 +0200, Stéphane JEAN BAPTISTE wrote:
> 
> Hi.
> I want to replace the String  %0A by nothing. I'm using this line:
>    $description=~tr/%0A//;
> 
> But nothing change.
> 
> What is my problem ?
> 
> tks
> 

tr is not what you want.  tr replaces characters with other characters.
You want s:

$desc =~ s/%0A//g;

--
Today is Pungenday, the 32nd day of Confusion in the YOLD 3167
You are what you see.


Reply via email to