in reply to Removing Files from non-pwd with Shell and File::Remove

eXile is right, but if your code generates the temp-files, why not keep track of their names, and unlink them by using somithing like
foreach (@generatedTempFile) { unlink $_; }
Then you don't spend time searching.
If it failes, is it another script that writes them as another user? Check if the permissions are set correctly.

"We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.