in reply to Re^2: catch die from say
in thread catch die from say

open( my $mail, "| mailx -r $from -s $sujet $courrielclient");

... in this case, $mail actually is the file handle case :)