In $ work mode, we maintain a set of Perl modules in a central location for easy inclusion through PERL5LIB. Since there is still a reinstallation ahead, and we need to provide modules for both 32-bit and 64-bit architecture, we are interested in installing them in the same directory tree, relying on the $ archname subdirectories or keeping the two architectures completely separate and duplicating each module.
I didn’t really manage to investigate the inner workings of the Perl module search process using $ archname, maybe someone can point me in the right direction.
In your experience, what are the pros and cons of the two approaches?
source
share