|There's more than one way to do things|
ExtUtils::MakeMaker and dot filesby SleepyJay (Beadle)
|on Jul 18, 2012 at 00:11 UTC||Need Help??|
SleepyJay has asked for the
wisdom of the Perl Monks concerning the following question:
I tend to edit files on a Linux server with a Mac. When I do this, the Mac will add these .AppleDouble files all over the place. I won't go into (even if I could) the history and/or purpose of these files, but suffice to say they are of zero use to my Perl modules.
There are at least two problems I run into with these files when I do a make. One, sometimes the make or the Perl compiler simply fails because of these files. Two, the existence of .AppleDouble files means they often get put into the "i386-linux-thread-multi" area. If they get installed twice (once in multi and one in the "correct" place), Perl is forced to guess which one of the modules to actually use. Usually this means I spend a few minutes making several changes to a file that doesn't appear to execute differently, until I realize the double problem, curse loudly, and clear out the offending module.
We have tried to combat this problem by running a script to remove the .AppleDouble files just before the make--but they keep coming back like the common cockroach. We have also tried server-configuration solutions, but the versions of the server thingies are all the wrong versions and so cause other problems. So, that's no good either.
Does anyone know of a way to make MakeMaker exclude these files from arriving at the Perl lib directories?
While the internet suggests I'm not alone in this problem, I cannot find a way to solve it.