Re: ^M in $res->content

RayG (rgoldber@eb.com)
Tue, 12 Oct 1999 07:43:26 -0500 (CDT)


On Tue, 12 Oct 1999, Gunardi -Viriyaguna- Wu wrote:

> Please help me, is there anyway to get rid of the ^M character? 
> (preferebly without using any text-parsing/filter script)

before printing the content do:
$res->content =~ s#\r##g;