in reply to Of Perl Ports and Maintainability
I think the most important advice would be not to have separate versions of the same code for each platform. Isolate the platform-specific code as much as possible (maybe into a separate module) and switch in in and out by checking $^O.
The biggest cross-platform maintenance nightmares I've come across are when people alter code on a platform by platform basis. Suddenly you have two separate codebases to update every time a bug is found.
|
|---|