Suppose I open a file in a normal way like this:
open(FILEHANDLE, "$filename") or die "Could not open file";
After this code has been run the filehandle hopefully is open but is it global? Is it possible to send it to a package or some other subrutine? Since the filehandle is not a normal variable, is there a some special syntax for sending it?