219

Perl Libraries
Text::Wrap

  • The Text::Wrap library module takes lines of text and word-wraps each line to a specified length

  • Optional strings may be prepended to each line of text


    Exercise
    1. Run the wrap example script.
    2. Take a look at the "wrap" script (click the "wrap" icon).
    No
    Hint
    To
    Start

    wrap