NAME

App::news - a web front-end for a news server

DESCRIPTION

This is a collection of functions for script/news, which see.

use App::news qw(wrap);
$body = wrap($body);

wrap does text wrapping appropriate for plain text message bodies as used in mail and news articles.

If a line is shorter than 50 characters, it is not wrapped.

Lines are wrapped to be 72 characters or shorter.

Quotes are handled as long as only ">" is used for quoting.

ranges translates a list of message numbers into an array of numbers or arrays suitable for XOVER.

sranges translates the output of ranges into a string for humans to read, i.e. "1-2,4".

AUTHOR

Alex Schroeder

LICENSE

GNU Affero General Public License