Install Dbi Perl Module Aix

 
  1. How To Install Perl Modules In Aix

Installing the DBI and DBD::Oracle Perl modules on AIX 5.3The version of Perl supplied with AIX was built using a the ccr compiler. Installing Perl modules on AIX requires the original compiler that Perl was built with in this case ccr. Unfortunately a native compiler is not included as standard in AIX and is a chargeable option. The work around for this is to build a new version of Perl using the GNU compiler gcc allowing the additional Perl modules to be installed.

How To Install Perl Modules In Aix

Install Dbi Perl Module Aix

In this case too you 'install' the module in a private directory,e.g. In /home/foobar/code and somehow you'd like to convinceperl to find that version of the module, and not the one thatwas installed in the system.The use statementWhen perl encounters use My::Module; it goes over theelements of the built-in @INC array that containsdirectory names.

Free minitab product key

In each directory it checks if there is asubdirectory called 'My' and if in that subdirectory there isa file called 'Module.pm'.The first such file it encounters will be loaded into memory.If it does not find the file you get the above error messages.@INC is defined when perl is compiled and itis embedded in the binary code. You cannot change that,unless you recompile perl. Not something we would do every day.Luckily the @INC array can be changed in severalways when we execute a script.