in reply to Re^2: Unit test - check file created using test::directory
in thread Unit test - check file created using test::directory

File::Temp does that for you. Run the code and see for yourself.

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)