in reply to Email and filenames

try Path     =>"$fileName", instead, single quotes take literal context, if you use double quotes, the variable is interpolated properly. If you have the variable in $file instead of $fileName, use Path     =>"${file}Name",. Same for Filename.

Greetz
Beatnik
... Quidquid perl dictum sit, altum viditur.