Kyle Johnson wrote:

The problem is that I don't know how to do it, which is why I came here. :)

If i have the right segment of code, you can make it look like this:

$from = substr($from, 0, $CONFIG{'MAX_COL_LEN'}) . "..." if (length($from)>$CONFIG{'MAX_COL_LEN'}); $subject = substr($subject, 0, $CONFIG{'MAX_COL_LEN'}) . "..." if (length($subject)>$CONFIG{'MAX_COL_LEN'});

   $from =~ s/</&lt;/g;
   $from =~ s/>/&gt;/g;
   $subject =~ s/</&lt;/g;
   $subject =~ s/>/&gt;/g;



Reply via email to