Basically, anything that needs to be compiled will have to have its platform specific version. That definitely means the Perl executable itself.
Most modules are straight Perl, however, and run on any platform that has a Perl executable, so you can keep them in a common directory. Some modules have parts of them written in C (usually for speed), that will need compiling. Those modules will need platform-specific versions.
BTW, your idea to have the hash bang line in your scripts refer to a wrapper script that calls the actual platform dependent perl binary is neat, if you can pull it off in a portable way (the one script needs to run on all your platforms - it's an easy way to create a chicken and egg problem).
CU Robartes- | [reply] |