Skip Menu |

This queue is for tickets about the Text-Tabs+Wrap CPAN distribution.

Report information
The Basics
Id: 104155
Status: new
Priority: 0/
Queue: Text-Tabs+Wrap

Owner: Nobody in particular
Requestors: VDB [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: fill returns trailing spaces
Download (untitled) / with headers
text/plain 592b says: Show quoted text
> Text::Wrap::fill() <...> It will destroy any whitespace > in the original text. <...> wrap() compresses trailing > whitespace into one newline, and fill() deletes all > trailing whitespace.
Simple test show that fill does not delete all trailing whitespace: $ cat #!/usr/bin/perl use strict; use warnings; use Text::Wrap; print( "Text::Wrap version ", Text::Wrap->VERSION(), "\n" ); my $text = Text::Wrap::fill( '', '', "a\n" ); print( ">>$text<<\n" ); $ ./ Text::Wrap version 2013.0523 Show quoted text
>>a <<
Note a space after letter "a".

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to