"say $mail $textecourriel;"
From perlobj: Indirect Object Syntax (emboldened text from the documentation):
Outside of the file handle case, use of this syntax is discouraged as it can confuse the Perl interpreter. ...
Also, the "The 'indirect' feature" is disabled in v5.36 (see "perl5360delta: use v5.36").
I would recommend
$mail->say($textecourriel);
as a preferred syntax.
Update: See responses for why I have striken this recommendation.
— Ken
In reply to Re^2: catch die from say
by kcott
in thread catch die from say
by PierreForget
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |