saipro10 has asked for the wisdom of the Perl Monks concerning the following question:

I have installed Strawberry Perl. I have downloaded Win32-ODBC-0.035.tar.gz for Win32::ODBC module.I wanted to know how to install Win32::ODBC module manually.

Note: Target machine do not have internet connection

Replies are listed 'Best First'.
Re: Install Win32::ODBC in Strawberry Perl
by Corion (Patriarch) on Nov 30, 2017 at 11:15 UTC

    If you want to access an ODBC database, note that DBD::ODBC already is installed with Strawberry Perl.

    If you want to install Win32::ODBC for another reason, just run the following command:

    cpan path\to\Win32-ODBC-0.035.tar.gz

    Or do the installation half-manually:

    1. Unpack the .tar.gz file to a known location
    2. Run
      cpan .
    3. done

    Or do the installation steps separately if you encounter errors:

    1. Unpack the .tar.gz file to a known location
    2. Run
      perl Makefile.PL
    3. Run
      gmake test
    4. Run
      gmake install
    5. done