in reply to Mysql module

Greetings.

Generally speaking. The most recent version, is the one to choose. But, given there is little context to work with (nothing other than the use statement). It's difficult to determine if there might be any incompatibilities, where newer versions are concerned.

Any chance you'd be willing to share more specifics, where the code you're working with, is concerned? Maybe the first 20 - 30 lines of the main script? What it's used for, {...}?

Best wishes.

--Chris

¡λɐp ʇɑəɹ⅁ ɐ əʌɐɥ puɐ ʻꜱdləɥ ꜱᴉɥʇ ədoH

Replies are listed 'Best First'.
Re^2: Mysql module
by Anonymous Monk on Jun 01, 2014 at 05:08 UTC
    I have attached a few lines of code
    $dbh = Mysql->connect($dbServerHost, $dbNameOnly, $dbUser, $db +Passwd); if (! $dbh) { return 0; } print "<br>...connected"; print "<br>Getting table structure..."; my $fields = $dbh->listfields($table);
    If it a very old module, I may need to use a more current module.

      Yea, you're working with MySQL, and a database. That was pretty much a given, after reading your first post. What we need to see, which would have been more telling. Was the first 20-30 lines of that script, which I indicated in my reply. Aren't you unable to post those lines?

      No offense. But you haven't posted enough information, to provide an intelligent response.

      We can't see the script you're working with. We haven't ever used the script you're working with, and, to the best of my knowledge. None of us are clairvoyant. ;)

      Please see How do I post a question effectively?, if you're at all unsure how best to respond.

      Best wishes.

      --Chris

      ¡λɐp ʇɑəɹ⅁ ɐ əʌɐɥ puɐ ʻꜱdləɥ ꜱᴉɥʇ ədoH