DBI::db=HASH(0x4034ddc8) DBI::db=HASH(0x4034ddc8) DBI::db=HASH(0x4034ddc8) DBI::db=HASH(0x4034ddc8) DBI::db=HASH(0x4034ddc8) DBI::db=HASH(0x40239258)The last return value is different from previous values. And also data fetched in this last instance(i.e. when the return value is DBI::db=HASH(0x40239258)) is not the data in the database.
Maybe you have "development" and "production" versions of the database (or "legacy" and "current" servers)? And maybe the script originally used one of them, then was edited to use the other -- but one of the login calls was missed by the edit?
You should have the connection parameters specified once for the whole application, perhaps in a separate module, so that if you need to change anything (host name, password, etc), you only need to update one data structure in one piece of code.
perlmonks.org content © perlmonks.org and graff, holli, Nalina, perl_lover
prlmnks.org © 2006 edmund von der burg (eccles & toad)
v 0.03