On Tue, Aug 11, 2026 at 01:32:51PM +0200, Jonathan Gonzalez V. wrote:
> What about using the most common way in the code instead of using `//`
> operator? Something like:
>
> my $msg_query = '(undef - connection attempt only)' unless defined $query;
>
> This is how is done everywhere else and is a bit more clear than the
> `//` operator which looks pretty tricky even for Perl
Using a defined() would be my go-to choice here. Using it in an if()
or an unless does not really matter.
Anyway, will fix one way or the other. Thanks for the report.
--
Michael