I was trying to do something involving renaming files the other day and I wrote:

  system("rename $originalname $newname");

and got an error. I figured out in the end I was getting confused -- perl has a rename function and if I want to do the system way, I need "mv" instead.

But when I do "man rename" I get a manpage. So how come in Panther I don't have a system rename command but I do have a manpage for it?

Supplementary question. If you were moving, copying and renaming files, would you use File::Copy instead of cp and mv?

Reply via email to