in reply to Copy preserving attributes

I've used File-Rsync with the --archive option set to achieve this. Not the most elegant solution, but it will do what you want.

Replies are listed 'Best First'.
Re^2: Copy preserving attributes
by puterboy (Scribe) on Nov 03, 2009 at 23:04 UTC
    Interesting idea, but I imagine that calling rsync even if coded all in Perl will be *slower* than a 'cp' system call.