Text/Wrap

Section: Perl Programmers Reference Guide (3)
Updated: perl 5.003 with
Index Return to Main Contents
 

NAME

Text::Wrap -- wrap text into a paragraph  

SYNOPSIS

        use Text::Wrap;
        
        $Text::Wrap::columns = 20; # Default
        print wrap("\t","",Hello, world, it's a nice day, isn't it?");


 

DESCRIPTION

This module is a simple paragraph formatter that wraps text into a paragraph and indents each line. The single exported function, wrap(), takes three arguments. The first is included before the first output line, and the second argument is included before each subsequest output line. The third argument is the text to be wrapped.  

AUTHOR

David Muir Sharnoff <muir@idiom.com>


 

Index

NAME
SYNOPSIS
DESCRIPTION
AUTHOR

This document was created by man2html, using the manual pages.
Time: 03:04:39 GMT, December 08, 2024