Next | Program Repair Shop | 99 |
I expect someone will complain that this is not portable
Because of the \'s
We could fix this if we needed to:
# Instead of "$src/$file" $src_file = File::Spec->catfile($src, $file);
Now it works on a Mac
This of course has a cost---the code is more verbose
An alternative approach:
Change the program on the first day it needs to run on a Mac
This has a cost too, but it might be less expensive
Next | Copyright © 2002 M. J. Dominus |