in reply to Re: Cant locate DBI in @INC
in thread Cant locate DBI in @INC

i tried your way and it throws the following error

$ perl data.pl 8 [main] perl 4524 _cygtls::handle_exceptions: Error while dumpi +ng state ( probably corrupted stack) Segmentation fault (core dumped)

Replies are listed 'Best First'.
Re^3: Cant locate DBI in @INC
by almut (Canon) on Sep 17, 2009 at 16:24 UTC

    This shows that the @INC manipulation actually had an effect this time :)

    Unfortunately, the module that was found under D:\\Perl\\site\\lib apparently isn't binary compatible with your perl (most likely, the shared lib associated with the DBD part is the culprit).

    Anyhow, you said it did work before. So - as the @INC manipulation cannot have had any effect before - some other module must have been found at the time (under the default lib paths)... Maybe you can reconstruct which version/build of DBI/DBD and perl that had been.  Otherwise you'll likely have to reinstall the DB modules.