My instinct would have been to use File::Find and Array->diff(), but davidj's suggestion of File::Temp sounds like a better approach to the problem - even if you have to backtrack on your implementation (which presumably already creates the files and directories).
In reply to Re: delete newly created files and directories leaving old ones
by dorward
in thread delete newly created files and directories leaving old ones
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |