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).
In reply to Re^3: hash as subroutine argument
by davorg
in thread hash as subroutine argument
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |