For a name you use once, you can use a symbol starting with an underscore, which suppresses the used once warning. This works in your case as well. Eg. open _MESSAGES, ">", "msg.txt" or die;
In reply to Re: Is it possible to "use vars" or "our" a file handle?
by ambrus
in thread Is it possible to "use vars" or "our" a file handle?
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |