in reply to Perl XAMPP DB Connect issue (Windows/Strawberry?)

> use DB;

Likely a typo, or do you really want to use the perldebugger ?

Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery

Replies are listed 'Best First'.
Re^2: Perl XAMPP DB Connect issue (Windows/Strawberry?)
by Polyglot (Chaplain) on Dec 31, 2022 at 13:37 UTC
    Well, if it's only a debugger, it sure fooled me. They might choose a less ambiguous piece of namespace next time. What package does XAMPP expect one to use for database connections?

    Blessings,

    ~Polyglot~

      I currently don't have XAMPP installed, and on the XAMPP website they don't mention which Perl version and modules are installed by default, but the Stackoverflow post that I referenced in my previous post lets me assume it is DBI. (I had noticed the use DB; in your OP, too, but, like you, had assumed it might be another database layer in XAMPP) -- what does it say if you try to use DBI; instead?
        No, there was no DBI package with XAMPP. The only other "DB"-starting package was something like DB_filter (that Windoze) computer has been updating for some time now--something I had no choice in--making it inaccessible. Hopefully it's close to finished with that now so I can continue working on it.

        I guess that's why I assumed that the "DB.pm" must be the equivalent for DBI. There was no other package that looked anywhere close. Meanwhile, I've begun the process (interrupted) of trying to install DBD::mysql, but found I needed nearly a GB of additional installs to enable a C compiler before "make" would even do anything on it...still trying to get the compiler going. It involved yet another major package install...this time MinGW.

        Blessings,

        ~Polyglot~