summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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).