For portability, you might want to use /\015\012/ instead of /\r\n/. Some
platforms, notably Macs and IBM mainframes, have different binary values for
"\r" and "\n" than UNIX and MSDOS. The HTTP standard specifies the binary
values.
--
Mac :})
** I normally forward private questions to the appropriate mail list. **
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.
----- Original Message -----
From: "Fran�ois Nadeau" <[EMAIL PROTECTED]>
To: "Michael A. Chase" <[EMAIL PROTECTED]>
Sent: Wednesday, June 27, 2001 12:25
Subject: RE: Problem: LWP unwanted line break
> Thanks for the reply Michael,
>
> You were right about the \r .
>
> And as pointed by Frederic Hurtibise, I modified my code like this:
>
> @lines_ouput = split(/\r\n/,$res->content);
>
> Now the \r are splitted and everything works fine.