Home > Packages > Repositories > base > perl-Text-Format > perl-Text-Format (i586)
The format routine will format under all circumstances even if the width isn't enough to contain the longest words. Text::Wrap will die under these circumstances, although I am told this is fixed. If columns is set to a small number and words are longer than that and the leading 'whitespace' than there will be a single word on each line. This will let you make a simple word list which could be indented or right aligned. There is a chance for croaking if you try to subvert the module. If you don't pass in text then the internal text is worked on, though not modfied. Text::Format is meant for more powerful text formatting than Text::Wrap allows. I also have a module called Text::NWrap that is meant as a direct replacement for Text::Wrap. Text::NWrap requires Text::Format since it uses Text::Format->format to do the actual wrapping but gives you the interface of Text::Wrap
Required by
Build required by
Provided files
perl-Text-Format: Text::Format - Various subroutines to format text.
The format routine will format under all circumstances even if the width isn't enough to contain the longest words. Text::Wrap will die under these circumstances, although I am told this is fixed. If columns is set to a small number and words are longer than that and the leading 'whitespace' than there will be a single word on each line. This will let you make a simple word list which could be indented or right aligned. There is a chance for croaking if you try to subvert the module. If you don't pass in text then the internal text is worked on, though not modfied. Text::Format is meant for more powerful text formatting than Text::Wrap allows. I also have a module called Text::NWrap that is meant as a direct replacement for Text::Wrap. Text::NWrap requires Text::Format since it uses Text::Format->format to do the actual wrapping but gives you the interface of Text::Wrap
| Name: | perl-Text-Format |
| Release: | 0.63-2mamba |
| Architecture: | noarch |
| Group: | System/Libraries/Perl |
| Size: | 23.32 kB |
| Upstream URL: | https://www.cpan.org/ |
| Source RPM: | perl-Text-Format |
| Brothers | Provides | Obsoletes | Requires | Recommends |
|---|---|---|---|---|
| perl(Text::Format) = 0:0.63 perl-Text-Format = 0:0.63-2mamba | perl >= 0:5.006 [1] perl >= 0:5.36.0 [1] perl(Carp) [1] perl(strict) [1] perl(warnings) [1] |
