diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-05-01 20:25:17 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-05-01 20:25:17 +0000 |
commit | a6fd7f3f0e271856b7ecf5cd1e2906924a6b206a (patch) | |
tree | d5fcd567303a983e98453393aae085c23b698246 /lib/Fatal.pm | |
parent | d5b7de33164333623115fd731d37408d6cff1ceb (diff) | |
download | perl-a6fd7f3f0e271856b7ecf5cd1e2906924a6b206a.tar.gz |
Add a BUGS section to Fatal.pm, see bug #38790
p4raw-id: //depot/perl@28040
Diffstat (limited to 'lib/Fatal.pm')
-rw-r--r-- | lib/Fatal.pm | 6 |
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). |