in reply to Perl Scripts on systems without perl environments.
you have to write your own Makefile to check the System Architeture.
then you have to build the Module dependancy accordingly.
You can see these kind of Examples in many of the source code which comes with Unix and linux Flavours.
ls command's source code is the best example for this
|
|---|