in reply to Re^2: hash as subroutine argument
in thread hash as subroutine argument
But the file hadle in the sub function has to be closed i suppose.
The filehandle is a lexical variable. It will be closed automatically as the variable goes out of scope (i.e. as the subroutine is exited).
|
|---|