summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorperl-5.8.0@ton.iguana.be <perl-5.8.0@ton.iguana.be>2004-06-06 21:50:19 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-06-08 10:19:27 +0000
commit7b614c55f5b832a2a6bef87f61ab8323c0d06c60 (patch)
treeb8d121b10290a0925403db3e18abdcd22abe4396 /lib
parent78ea37eb92d97de2362f1599aa0c3f43c5e70866 (diff)
downloadperl-7b614c55f5b832a2a6bef87f61ab8323c0d06c60.tar.gz
[perl #30073] Misleading docs of Text::Wrap
From: perl-5.8.0@ton.iguana.be (via RT) <perlbug-followup@perl.org> Message-ID: <rt-3.0.9-30073-89834.19.0927626986204@perl.org> p4raw-id: //depot/perl@22903
Diffstat (limited to 'lib')
-rw-r--r--lib/Text/Wrap.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Text/Wrap.pm b/lib/Text/Wrap.pm
index c2c32257d6..ec5e166d28 100644
--- a/lib/Text/Wrap.pm
+++ b/lib/Text/Wrap.pm
@@ -120,7 +120,7 @@ B<Example 1>
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);