I am not intending this to start a war or anything. I just need to take something i wrote for mac perl and get it to run on a pc...
Perl on a PC is different than mac perl. Not much different, but different enough to throw me for a few loops. I am using the File::Copy module in my app to copy a file from one directory to another directory in the mac app like this: use strict; use File::Copy; #-- make backup copy of original files copy(":oldFile.csv",":newFile.csv") || die "Cannot copy 'oldFile.csv': $!\n"; This does not seem to work on the pc. I changed the colons to slashes to no avail. Is the File::Copy module a mac perl thing only? So then I tried: System ("copy oldFile.csv newFile.csv") As was recommended in O'Reilley's "Perl Cookbook". That does not seem to work for me either. Here is what I am trying to do. I export a bunch of csv's from a fileMaker database on a pc. There are a bunch of mac characters that get screwed up in this export, so I have a perl script that scrubs these. I want to end up with the same file names for the scrubbed files as I started with from the FileMaker exports. So my thinking is to make a copy of the file, open the copy for reading, scrub the characters, save to oldFileName. Any ideas? Thx. --> [groundZERĜ] --> [t:o:m:c:a:r:r] --> [[EMAIL PROTECTED]] --> [847:757:4188]