in reply to File Handler

1.    This is a Frequently Asked Question.    See: How do I pass filehandles between subroutines? and How can I use a filehandle indirectly?

Replies are listed 'Best First'.
Re^2: File Handler
by ikegami (Patriarch) on Feb 01, 2010 at 07:19 UTC

    Those last two are rather dated, using a global variable for a file handle. They seem to talk a lot when for something that should only be one line of code:

    foo($fh);