New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing Text::Wrap::break causes Text::Wrap::wrap() to fail #7867
Comments
From eric.moyer@bigfoot.comCreated by eric_moyer@yahoo.comWhen I change the break variable of Text::Wrap, it dies with the I did not bother to try to upgrade my perl to 5.8.5 because no delta for Text::Wrap was mentioned. I have attached a text version of this bug-report and minimalProblems.pl which is the code to reproduce the bug. *********************************** Perl Info
|
From eric.moyer@bigfoot.comCreated by eric_moyer@yahoo.comWhen I change the break variable of $Text::Wrap, it dies with the *********************************** This works: ************************* #!/usr/bin/perl my $toPrint = "(1) Category\t(2 or greater) New Category\n\n"; print "This works:\n"; print "This doesn't work:\n"; print "This doesn't work:\n"; Perl Info
|
From @iabynOn Sat, Apr 09, 2005 at 10:13:11PM -0000, eric. moyer @ bigfoot. com wrote:
Thanks for the report. It turns out that Text::Wrap couldn't cope with I also fixed a few typos in the documentation while I was at it. Dave. -- Change 24273 by davem@davem-splatty on 2005/04/21 21:22:54 [perl #34902] Text::Wrap::wrap() fails with non-space separator Affected files ... ... //depot/perl/lib/Text/TabsWrap/t/wrap.t#3 edit Differences ... ==== //depot/perl/lib/Text/TabsWrap/t/wrap.t#3 (xtext) ==== @@ -5,7 +5,7 @@ -@tests = (split(/\nEND\n/s, <<DONE)); END @@ -135,7 +146,9 @@ - $in =~ s/^TEST(\d+)?\n//; my $back = wrap(' ', ' ', $in); @@ -169,7 +182,10 @@ - $in =~ s/^TEST(\d+)?\n//; my @in = split("\n", $in, -1); ==== //depot/perl/lib/Text/Wrap.pm#22 (text) ==== @@ -43,7 +43,7 @@ pos($t) = 0; Text::Wrap::fill() is a simple multi-paragraph formatter. It formats @@ -183,12 +183,12 @@ If you want to separate your lines with something other than C<\n> When words that are longer than C<$columns> are encountered, they Change 24275 by davem@davem-splatty on 2005/04/21 21:30:11 Sigh - really bump Text::Wrap version number this time. Affected files ... ... //depot/perl/lib/Text/Wrap.pm#24 edit Differences ... ==== //depot/perl/lib/Text/Wrap.pm#24 (text) ==== @@ -6,7 +6,7 @@ -$VERSION = 2001.09292; use vars qw($VERSION $columns $debug $break $huge $unexpand $tabstop |
The RT System itself - Status changed from 'new' to 'open' |
@iabyn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#34902 (status was 'resolved')
Searchable as RT34902$
The text was updated successfully, but these errors were encountered: