testing for file existence, listing files in specific dir, OS9
[email protected] (Philip MacMenamin) Fri, 26 Sep 2003 12:38:42 -0400
| Newsgroups | perl.macperl.forum |
|---|---|
| Organization | NYU |
| Message-ID | <[email protected]> |
Hi, I have a script which I wrote on my linux machine, but has to run on MacOS9s. In this script I need to test to see if files exist: if (-e $myFileName) and I need to copy or move files around with in this directory. `mv $oldFileName $newName`; How do I go about this in MacPerl? Thanks, Philip.