summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-05-01 20:25:17 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-05-01 20:25:17 +0000
commita6fd7f3f0e271856b7ecf5cd1e2906924a6b206a (patch)
treed5fcd567303a983e98453393aae085c23b698246
parentd5b7de33164333623115fd731d37408d6cff1ceb (diff)
downloadperl-a6fd7f3f0e271856b7ecf5cd1e2906924a6b206a.tar.gz
Add a BUGS section to Fatal.pm, see bug #38790
p4raw-id: //depot/perl@28040
-rw-r--r--lib/Fatal.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Fatal.pm b/lib/Fatal.pm
index d135731603..b939f0cf60 100644
--- a/lib/Fatal.pm
+++ b/lib/Fatal.pm
@@ -177,6 +177,12 @@ values are ignored. For example
# not checked, so error raises an exception
close FH;
+=head1 BUGS
+
+You should not fatalize functions that are called in list context, because this
+module tests whether a function has failed by testing the boolean truth of its
+return value in scalar context.
+
=head1 AUTHOR
Lionel Cons (CERN).