in reply to open to a scalar variable
I'm not very familiar with this technique, but try this instead:
---
It's all fine and dandy until someone has to look at the code.
If $message is already a reference, try dropping the backslash too.open(MESSAGE, "+>>", \$message) or die "no message $!"; open(WHOM, ">>&=", MESSAGE) or die "no whom $!"; open (WHAT, ">>&=", MESSAGE) or die "no what $!";
---
It's all fine and dandy until someone has to look at the code.
In Section
Seekers of Perl Wisdom