in reply to Re^2: DBI.c has a problem
in thread DBI.c has a problem

Hm, that was/is it. For some reason I have a /perl5/lib/perl5 library in my home directory. After some juggling, I was able to clean the @INC variable and it now runs. Thanks to all.

Jim

Replies are listed 'Best First'.
Re^4: DBI.c has a problem
by LanX (Saint) on Nov 24, 2024 at 17:38 UTC
    Honestly...

    You should better address the root problem and uninstall the faulty DBI.pm instead of just excluding one path of @INC.

    This will bite you sooner or later, in multiple ways.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    see Wikisyntax for the Monastery

Re^4: DBI.c has a problem
by cavac (Prior) on Nov 25, 2024 at 12:51 UTC

    As has been repeated on PerlMonks countless times: "Don't mess with system perl, install you own one on your home directory".

    The reason is twofold:

    1. If you mess up something in the perl installation provided by your operating system, you operating system mit not be able to work correctly or may even fail to boot properly.
    2. Your operating system/package manager can update/change/remove/patch perl modules at any time, depending on the ever-changing dependencies of your installed programs. You don't want to spend hours trying to find a bug in your own programs, only to find out that your OS distributor did make some unofficial changes to some module.

    PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP
    Also check out my sisters artwork and my weekly webcomics