in reply to Re^4: Finding out whether two directories are the same (insert)
in thread Finding out whether two directories are the same

You should not forget to check, if the file creation was successful.

If I use File::Temp::tempfile, this throws an exception if it can't create the file, so checking must be done by wrapping it into an eval block and testing $@ afterwards.

-- 
Ronald Fischer <ynnor@mm.st>