Reference: wrap (Perl in a Nutshell)

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.147 Text::WrapChapter 8
Standard Modules
Next: 8.147 Text::Wrap
 

wrap

wrap (init_str, other_str, text)

Breaks lines of array text at the word boundary closest to the size of a line. Prepends init_str to the first output line and other_str to subsequent lines, for indentation. Exported by default.


Previous: 8.147 Text::WrapPerl in a NutshellNext: 8.147 Text::Wrap
8.147 Text::WrapBook Index8.147 Text::Wrap

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.