Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Text::Format Wrapping

by Rich36 (Chaplain)
on Mar 04, 2003 at 22:17 UTC ( #240465=note: print w/replies, xml ) Need Help??


in reply to Text::Format Wrapping

A viable solution is to use Text::Wrap

use Text::Wrap; $Text::Wrap::columns = 60; my $text = "Hello" x 190; # Unwrapped print qq($text\n\n); # Wrapped print wrap('', '', $text), "\n\n";

«Rich36»

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://240465]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2021-04-13 01:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?