The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Text::ASCIITable::Wrap - Wrap text

SHORT DESCRIPTION

Make sure a text never gets wider than the specified width using wordwrap.

SYNOPSIS

  use Text::ASCIITable::Wrap qw{ wrap };
  print wrap(10,'This is a long line which will be cut down to several lines');

FUNCTIONS

wrap($text,$width[,$nostrict]) (exportable)

Wraps text at the specified width. Unless the $nostrict parameter is set, it will cut down the word if a word is wider than $width. Also supports text with linebreaks.

REQUIRES

Exporter, Carp

AUTHOR

Håkon Nessjøen, lunatic@cpan.org

VERSION

Current version is 0.1.

COPYRIGHT

Copyright 2002-2003 by Håkon Nessjøen. All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Text::ASCIITable

1 POD Error

The following errors were encountered while parsing the POD:

Around line 95:

Non-ASCII character seen before =encoding in 'Håkon'. Assuming CP1252