From: perl-5.8.0@ton.iguana.be Date: Sun, 6 Jun 2004 21:50:19 +0000 (+0000) Subject: [perl #30073] Misleading docs of Text::Wrap X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7b614c55f5b832a2a6bef87f61ab8323c0d06c60;p=p5sagit%2Fp5-mst-13.2.git [perl #30073] Misleading docs of Text::Wrap From: perl-5.8.0@ton.iguana.be (via RT) Message-ID: p4raw-id: //depot/perl@22903 --- diff --git a/lib/Text/Wrap.pm b/lib/Text/Wrap.pm index c2c3225..ec5e166 100644 --- a/lib/Text/Wrap.pm +++ b/lib/Text/Wrap.pm @@ -120,7 +120,7 @@ B print wrap($initial_tab, $subsequent_tab, @text); print fill($initial_tab, $subsequent_tab, @text); - @lines = wrap($initial_tab, $subsequent_tab, @text); + $lines = wrap($initial_tab, $subsequent_tab, @text); @paragraphs = fill($initial_tab, $subsequent_tab, @text);