Mailing List Archive

[Bug 2746] New: Doc: without a link, and less then usual: expansion fails as explicit failure on a lookup
https://bugs.exim.org/show_bug.cgi?id=2746

Bug ID: 2746
Summary: Doc: without a link, and less then usual: expansion
fails as explicit failure on a lookup
Product: Exim
Version: 4.94
Hardware: All
URL: http://exim.org/exim-html-current/doc/html/spec_html/c
h-string_expansions.html#SECTexpansionitems
OS: All
Status: NEW
Severity: bug
Priority: low
Component: Documentation
Assignee: unallocated@exim.org
Reporter: u34@net9.ga
CC: exim-dev@exim.org

--- a/doc/doc-docbook/spec.xfpt 2021-04-28 23:33:42.119645179 +0000
+++ b/doc/doc-docbook/spec.xfpt 2021-05-13 13:55:47.624966592 +0000
@@ -10441,8 +10441,8 @@
name of the subroutine, is nine.

The return value of the subroutine is inserted into the expanded string,
unless
-the return value is &%undef%&. In that case, the expansion fails in the same
-way as an explicit &"fail"& on a lookup item. The return value is a scalar.
+the return value is &%undef%&. In that case, the entire expansion is forced to
fail
+(see section &<<SECTforexpfai>>&). The return value is a scalar.
Whatever you return is evaluated in a scalar context. For example, if you
return the name of a Perl vector, the return value is the size of the vector,
not its contents.

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##