news2mail question...

Julien ÉLIE julien at trigofacile.com
Mon Apr 28 14:06:16 UTC 2008


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)



More information about the inn-workers mailing list