in reply to file i/o beyond my knowledge

I'm just wondering what happens if you really do copy every file from a directory, including the . and .. files? I don't want to be the one to try it...

I forget the approved way to do this, but you're going to want to do something like:
@list = grep {! /^\.+/} @list;
on the list of files...
--

“Every bit of code is either naturally related to the problem at hand, or else it's an accidental side effect of the fact that you happened to solve the problem using a digital computer.” M-J D