GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TEXT::NWRAP (3)

.ds Aq ’

NAME

Text::NWrap - a simple text wrapping module

CONTENTS

SYNOPSIS



    use Text::NWrap;

    $NWrap::columns = 132;
    NWrap::wrap(    ,,@text);



DESCRIPTION

<B>Text::NWrapB> is a simple interface to <B>Text::FormatB>. If you want more functionality just use <B>Text::FormatB>. <B>Text::NWrapB> is meant to replace <B>Text::WrapB>. Its interface is basically identical to <B>Text::WrapB>’s. However, nothing is exported by default and it does not call die under any circumstance.
<B>wrapB> $firstIndent, $bodyIndent, @text Wrap @text using $firstIndent for the first line’s indent and $bodyIndent for the indentation of the body of the paragraph.
<B>B>$columns<B>B> Lets you set the width of the paragraph. Default is 72 characters wide.

EXAMPLE



    use Text::NWrap;

    print NWrap::wrap(,,"hello world this is some silly example",
            "and some more text that should explain the use");

    use Text::NWrap qw(wrap $columns);

    $columns = 20;
    wrap("\t",,"some text that should be wrapped");



AUTHOR

Gabor Egressy gabor@vmunix.com

Copyright (c) 1998 Gabor Egressy. All rights reserved. All wrongs reversed. This program is free software; you can redistribute and/or modify it under the same terms as Perl itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 TEXT::NWRAP (3) 1998-02-23

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.