Slightly unrelated (maybe), you should never use this
while ($line = STDIN)
but instead do
while (defined($line = STDIN))
because one day you'll be bitten by STDIN returning a single "0"
and you'll be dead.
perl -w should warn you about this BTW.
Florent
On Fri, Mar 26, 1999 at 12:33:57AM -, Efgé wrote:
} Slightly unrelated (maybe), you should never use this
} while ($line = STDIN)
} but instead do
} while (defined($line = STDIN))
} because one day you'll be bitten by STDIN returning a single "0"
} and you'll be dead.
That's no
Mahlon Smith [EMAIL PROTECTED] writes:
perl script sucks it in, adds a header, and re-pipes it onward to
qmail-inject at a different address. This parts works great. The
problem: As soon as the message is replied to (using pretty much any
MUA under the sun), the header mysteriously