this will run the function "log" and generate the log base e
of whatever the current value of $_ is...
then open the file "logfile" for appending and giving it that
"number" string as filehandle.
Probably not what you intended...
The correct way:
open(LOG, ">>logfile");
The moral of this story is that case matters in Perl.
Like in file handles. And variable names.