^M in $res->content
Gunardi -Viriyaguna- Wu (gunardi@starindo.net)
Tue, 12 Oct 1999 15:20:20 +0700
Hi,
using:
$req = HTTP::Request->new(POST, $some_link);
$req->content_type('application/x-www-form-urlencoded');
$req->add_content($something);
$res = $ua->request($req);
print $res->content;
The $res->content contains ^M (DOS format for newline??)
If I delete the line $req->content_type or change the mime.type with
other
it won't work.
Please help me, is there anyway to get rid of the ^M character?
(preferebly without using any text-parsing/filter script)
Thank you in advance
gunardi@starindo.net
ps--
please reply to gunardi@starindo.net since I am not subscriber to this
mlist yet.
thx