in reply to Re^2: Connect to DB2 Database with Perl DBI in Windows 7
in thread Connect to DB2 Database with Perl DBI in Windows 7

See this issue report, which suggests that the problem is because the code doesn't compile with the gcc bundled with Strawberry Perl.

I believe that the core issue is gcc compiler support under Windows. T +here is a history here... that shows that in 2010, a patch was contributed +for DBD::DB2 1.78 for gcc on Windows. DBD::DB2 1.85, the current versio +n on CPAN, doesn't include this patch (or it no longer works).
The way forward always starts with a minimal test.

Replies are listed 'Best First'.
Re^4: Connect to DB2 Database with Perl DBI in Windows 7
by afoken (Chancellor) on Aug 18, 2015 at 18:05 UTC
    See this issue report, which suggests that the problem is because the code doesn't compile with the gcc bundled with Strawberry Perl.

    Should all attempts to compile DBD::DB2 fail, consider installing an ODBC driver for DB2 and use DBD::ODBC instead.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
Re^4: Connect to DB2 Database with Perl DBI in Windows 7
by concerto5 (Novice) on Aug 17, 2015 at 20:29 UTC
    Thanks for all the help everyone. Will research what you've given me thus far and report back with any additional info.