On Sat, 29 Jun 2002, Theo Van Dinter wrote: > # $head is a Mail::Header object, fyi. > my $SAstatus = $head->get("X-Spam-Status") || "No, tests=\n"; > > # Figure out if the message is considered spam or not > $SAstatus =~ s/\n\t+\s+//g; # unfold long sections > $SAstatus =~ s/\n\t+/ /g; # unfold everything else
If you've already got a Mail::Header object, why not just use $SAstatus->unfold()? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek No, I will not fix your computer. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk