Text::Original - Find original, non-quoted text in a message
use Text::Original; my $sentence = first_sentence($email->body);
first_lines($text, 20);
Returns the a number of lines after the first non blank, none quoted line of the body of the email.
It will guess at attribution lines and skip them as well.
It will return super cited lines. This is the super-citers' fault, not ours.
It won't catch all types of attribution lines;
It can optionally be passed a number of lines to get.
Returns the first original paragraph of the message
Returns the first original sentence of the message
All of the above.
Simon Wistow and the Mariachi project. See http://siesta.unixbeard.net/
Packaged by Simon Cozens
Currently maintained by Simon Wistow <simon@thegestalt.org>
Copyright 2004 The Siesta Project
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.