Sacrebleu!
I see it now: "returns an object representing that text" and "In scalar
boolean contexts this return object evaluates true if the input
operation succeeded.".
I think what threw me off is that the description has more explanations
about list context, so the bit about the thruthiness of the object got
lost.
Plus since the object behaves mostly like a regular scalar, I completely
forgot it wasn't (if I ever realized it wasn't, I am not sure now),
and focused on getting my menus right.
So thanks for adding the caveat, hopefully it will help the next
doc-skimmer like me.
--
Michel
On 07/12/2018 21:01, damian@conway.org via RT wrote:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=127957 >
>
> Merci beaucoup, Michel!
>
> I had thought that mentioning the object return value in the first and
> fifth paragraphs
> of the initial DESCRIPTION was sufficient, but reading it again, I see that
> it really
> isn't. So thank-you for pointing that out to me.
>
> I have now added a CAVEAT section immediately after the synopsis which (I
> hope!)
> more clearly warns of the problem you encountered.
>
> Please accept my apologies for this counter-intuitive edge-case in the
> module's interface.
>
> All the very best,
>
> Damian
>