Being realtively new to Perl as a whole I ask your paitence with this request for guidance.
I'm attempting to log things at certian points of a program. This program contains a subroutine that is called at least twice during this program. At the end of each run of the subroutine, I would like to print the results to the programs logfile.
The problem I'm running into is that when I open the filehandle to the logfile in the main body of the program, the subroutine does not seem to be able to access that open file handle.
I've read the perl doc on open, but either I didn't find anything relating to the Global use of a open filehandle.
Where should I be looking for the solution?