At 10:55 AM on 8/23/97, William McAuliff <womc3@adamsapple.com> wrote in "[MacPerl] Short intro and request for help": >> sub get_files { >> >> chdir($basedir); >> foreach $file (@files) { >************************************ >> $ls = `ls $file`; >************************************ The above line contains "`ls`" does not work on Mac, because it's a UNIX system call. You didn't include the rest of the codes, so I'm not sure the significance of that ls call, but if you're checking the file's access mode, you don't have to worry about it, because Mac does not have such "access" mode. If you are trying to check the info about the file (other than access mode), such as file size, you could use "$ls = -s $file" or "%ls = stat $file" Hope this helps. --Akira ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch