in reply to Re: open to a scalar variablein thread open to a scalar variable
Anyway, unquoting $message and putting the &= into the mode argument worked. Thank you.