Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: selectrow_array() confusion

by Anonymous Monk
on Nov 25, 2008 at 23:51 UTC ( #725973=note: print w/replies, xml ) Need Help??


in reply to Re: selectrow_array() confusion
in thread selectrow_array() confusion

To get DBD::mysql version do:

perl -MDBD::mysql -le 'print $DBD::mysql::VERSION;'

To get DBI versions do:

perl -MDBI -le 'print $DBI::VERSION;'

selectrow_array is built into each DBD so if you upgrade DBI you need to rebuild DBD::mysql. Recent versions of DBI (1.605 - http://search.cpan.org/~timb/DBI-1.607/Changes) contain some fixes for selectrow_array but I don't think ones that affect what you are doing. However, I'm guessing you have upgraded DBI and not rebuilt DBD::mysql as at present I cannot think of any other reason for this.

Replies are listed 'Best First'.
Re^3: selectrow_array() confusion
by Cody Pendant (Prior) on Nov 26, 2008 at 00:10 UTC
    I'm guessing you have upgraded DBI and not rebuilt DBD::mysql
    That is indeed possible. I'll check as soon as I can.


    Nobody says perl looks like line-noise any more
    kids today don't know what line-noise IS ...
Re^3: selectrow_array() confusion
by Cody Pendant (Prior) on Nov 26, 2008 at 11:04 UTC
    The $DBD::mysql version is 4.007.


    Nobody says perl looks like line-noise any more
    kids today don't know what line-noise IS ...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://725973]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2020-07-07 07:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?