I have written a perl module that operates on files. Also I have a Test::More script for this module, with number of tests.
One of the test requires a temporary file. I create this temporary file in a
block. I unlink() it in a
If the test passes, the temporary file is unlink()'d. However if the test fails, the temporary file is not unlink()'d. How do i unlink the temporary file, even if the test