what is the best stradigy to use modules and the like based on platform?
ie
use Term::ANSIColor qwconstants);
unix & os x
use Win32::Console::ANSI;
windows also requires this to display ansii color
I am using Config & $^O to determine the platform and use ifs to use certain platform specific modules.
I am sure that there must be a better cleaner way.
Either a setup script that hard codes it to a specific platform or something that I haven't thought of.
what do you guys think?
ie
use Term::ANSIColor qwconstants);
unix & os x
use Win32::Console::ANSI;
windows also requires this to display ansii color
I am using Config & $^O to determine the platform and use ifs to use certain platform specific modules.
I am sure that there must be a better cleaner way.
Either a setup script that hard codes it to a specific platform or something that I haven't thought of.
what do you guys think?