NAME

Text::Wrap::Smart - Wrap text into chunks of equal length

SYNOPSIS

 use Text::Wrap::Smart qw(wrap_smart);

 $text = .. # random content & length
 
 %options = (
             max_msg_size => 160,
	    );

 @chunks = wrap_smart($text, \%options);

DESCRIPTION

Text::Wrap::Smart was primarly developed to split an overly long SMS message into chunks of equal size. The distribution's wrap_smart() may nevertheless be used for other purposes.

FUNCTIONS

wrap_smart

See section synopsis.

SEE ALSO

Text::Wrap

AUTHOR

Steven Schubiger <schubiger@cpan.org>

LICENSE

This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html