in reply to Re^2: File open problem with "GLOB"
in thread File open problem with "GLOB"

For future reference, closing file handles is done with close, not unlink. Using undef or letting the variable go out of scope both do the trick as well.

I use the last option. I don't remember ever having to explicitly close a file handle in Perl.