in reply to Save permissions on a directory tree
I'd use File::Find::Rule and File::stat for that task.
Cheers, Flo