|Subject:||Regarding the current directory issue...|
You asked the following "File::Spec adds the current directory to the front of PATH if on Win32, VMS or MacOS. I have no knowledge of those so don't know if the current directory is searced first or not. Could someone please tell me?" It should be fairly easy to check this, using a program we know exists on the path, "perl" itself. So in the test script chdir to the test script directory, create a file called "perl" (or perl.exe, etc on Windows) and then call something like "perl -e 'exit(100)'" and see what happens. If it does to the current one first, your own file, which would return, say, 0 would be distinguishable from the "real" one. Then your test can validate that platform in comparison to your assumptions.