On 1/26/99 at 04:14, ero@fiber.net (Ero Brown) wrote: > In version reposted below I have simply replaced all "local" > references with "my". > > Paul makes a number of good points, currently looking into: > - simply "return $^O;" instead of function GetHostOS. > - the Getopt:: modules. > - ridding use of *.pl files distributed with Perl. > - use File::Find directly. I have a quesiont regarding the OS-related tests: #what OS are we running on? $osString = GetHostOS; #what's the right dir seperator char to use? $Dir = GetDirSeperatorChar($osString); Am I correct in believing that the only point of testing for OS is to use the results to determine the proper path separators? If a Perl script has to employ CR under Mac, LF under unix and CR/LF under Win as line endings in order to run, then it's presumably already been modified to run on the specific host platform or it wouldn't be running at all, right? Richard Gordon Gordon Consulting & Design Voice: 770-565-8267 Fax: 770-971-6887 Richard Gordon Gordon Consulting & Design Voice: 770-565-8267 Fax: 770-971-6887 ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch