what error is the open giving?[color=blue]
> open (LOGFILE, ">>junk.log") ;[/color]
open (LOGFILE, ">>junk.log")
or die "Couldn't open junk.log for appending : $!";
Also, it may be that somewhere LOGFILE is defined as a constant, and so
the bare filehandle LOGFILE is being interpreted as LOGFILE()
Rather use lexical file handles.