in reply to (jeffa) Re: Sending variables to a log file
in thread Sending variables to a log file

That's what I was thinking but $msg was defined.
$_ = $msg; print LOG "$msg :: $ENV{REMOTE_ADDR}\n"; print "\$msg is $msg"; close (LOG);
The test print of $msg did print out whatever I expected to be in there, it just never showed up in logs. That's why I posted this, it's too confusing because what should have worked didn't and now it does work and there's no reason for it to be any different. ahhh, time for some Mountain Dew I think :)

"Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"

sulfericacid