Don't put quotes around the variable (see open).
open(MESSAGE, '+>>', \$message) or die "no message $!";
(What you're doing is opening a file literally named "$message".)
In reply to Re: open to a scalar variable
by kyle
in thread open to a scalar variable
by girarde
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |