Take a look at perlfaq7 . It has a question about it... (how can I pass/return a ...)
To pass a filehandle you should use *FH or \*FH, not FH
Also, if you would have 'use strict': then you would have gotten an error: 'Bareword "LOG" not allowed while "strict subs" in use'...
In reply to Re: unnecessary warning message?
by Animator
in thread unnecessary warning message?
by argv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |