Skip Menu |

This queue is for tickets about the Text-Flowed CPAN distribution.

Report information
The Basics
Id: 18555
Status: new
Priority: 0/
Queue: Text-Flowed

People
Owner: Nobody in particular
Requestors: dan.ludden [...] lmco.com
Cc:
AdminCc:

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



Subject: Max_length/Opt_length checking
Text-Flowed 0.14 5 Apr 06 Text-Flowed only rewraps lines > max_length but should also check for lines > opt_length. line 68 #} elsif (length($line) + $num_quotes <= $args->{max_length} - 1) { } elsif ((length($line) + $num_quotes <= $args->{max_length} - 1) && (length($line) + $num_quotes <= $args->{opt_length} - 1)) { Also should check for opt_length > max_length add line 38 $args->{opt_length} = $args->{max_length} if ($args->{opt_length} > $args->{max_length});