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.
In reply to Re^3: File open problem with "GLOB"
by ikegami
in thread File open problem with "GLOB"
by mcoblentz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |