summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/pod/perlcall.pod
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/perl/pod/perlcall.pod')
-rw-r--r--gnu/usr.bin/perl/pod/perlcall.pod6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/usr.bin/perl/pod/perlcall.pod b/gnu/usr.bin/perl/pod/perlcall.pod
index 40f1d65a7be..dd520afcaa1 100644
--- a/gnu/usr.bin/perl/pod/perlcall.pod
+++ b/gnu/usr.bin/perl/pod/perlcall.pod
@@ -343,7 +343,11 @@ has no effect when G_EVAL is not used.
When G_KEEPERR is used, any errors in the called code will be prefixed
with the string "\t(in cleanup)", and appended to the current value
-of C<$@>.
+of C<$@>. an error will not be appended if that same error string is
+already at the end of C<$@>.
+
+In addition, a warning is generated using the appended string. This can be
+disabled using C<no warnings 'misc'>.
The G_KEEPERR flag was introduced in Perl version 5.002.