[prev in list] [next in list] [prev in thread] [next in thread]
List: inn-workers
Subject: Re: news2mail question...
From: Julien_ÉLIE <julien () trigofacile ! com>
Date: 2008-04-28 14:06:16
Message-ID: 7B641D9512C648B3BBFFC3D5D534C759 () Iulius
[Download RAW message or body]
Hi Bill,
>> my (@lines) = split(/\n/, $body);
>> for ($i=0; $i < scalar(@lines); $i++) {
>> print MAIL $lines[$i]."\n";
> Why are you splitting $body instead of just printing it (print MAIL $body;)?
You're right: "print MAIL $body;" should be used instead of what
I too quickly suggested.
--
Julien ÉLIE
« La science consiste à passer d'un étonnement à l'autre. » (Aristote)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic