matua105 has asked for the wisdom of the Perl Monks concerning the following question:
Text wrap is not working in my environment. Here is the code:
use Text::Wrap qw(wrap $columns $huge); $columns = 40; $huge = 'wrap'; print wrap;
This is based on the examples at perldoc.perl.org/Text/Wrap.html
Most likely I am doing something wrong here. Thanks in advance for your help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Text::Wrap not working
by toolic (Bishop) on Aug 23, 2010 at 18:38 UTC | |
by matua105 (Novice) on Aug 23, 2010 at 20:40 UTC | |
by toolic (Bishop) on Aug 23, 2010 at 21:00 UTC | |
by matua105 (Novice) on Aug 23, 2010 at 21:18 UTC | |
by Khen1950fx (Canon) on Aug 24, 2010 at 06:18 UTC | |
by toolic (Bishop) on Aug 23, 2010 at 21:29 UTC | |
|
Re: Text::Wrap not working
by Your Mother (Archbishop) on Aug 23, 2010 at 18:36 UTC | |
by ikegami (Patriarch) on Aug 23, 2010 at 19:15 UTC | |
|
Re: Text::Wrap not working
by TomDLux (Vicar) on Aug 23, 2010 at 18:35 UTC |