"be consistent" | |
PerlMonks |
Re^3: hash as subroutine argumentby davorg (Chancellor) |
on Jul 03, 2009 at 05:48 UTC ( [id://776942]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|