GIDustin
Emperor
I am making a perl script that checks all unit folders for missing links in the INI files, and copies any files linked via the backtrack thing (..\) into the folder so it no longer is a link from another filename. The only thing I have left to do is the part where the file is copied from its old folder into the new one. I know you can use "rename $old, $new;" to move a file, BUT how do you copy a file? I tried OPENing the old one, getting the contents, and printing into teh new one, but that didnt seem to work (I am guessing that missing headers is to blame).
So basically I just need to know how to copy files with perl.
Thanks in advance.
GIDustin
So basically I just need to know how to copy files with perl.
Thanks in advance.
GIDustin