Home  |  Linux  | Mysql  | PHP  | XML
From:Philip MacMenamin Date:Fri Sep 26 10:38:42 2003
Subject:testing for file existence, listing files in specific dir, OS9
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.

Navigate in group perl.macperl.forum at sever nntp.perl.org
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants