|Just another Perl shrine|
Re: tripping over filehandle / subroutine usageby LanX (Chancellor)
|on Dec 21, 2012 at 21:00 UTC||Need Help??|
> Do filehandles get auto-closed when they are passed to a subroutine and the subroutine returns?
> (this is probably really basic, but somehow I have never encountered it before).
and we can't tell what you're doing ... because you don't provide much reproducible code. :)
> What is happening here?
You have a bug in the code you're hiding from us! ¹
¹) (X-Lan activating his magical psy abilities to read foreign harddisks =)