"be consistent" | |
PerlMonks |
Re: DB Connections across scripts from a moduleby proceng (Scribe) |
on Jun 03, 2010 at 14:32 UTC ( [id://842929]=note: print w/replies, xml ) | Need Help?? |
Just a guess (since you do not show any code: When you execute the connect: are you declaring the database handle globally or are you declaring it within the "connect" subroutine? If it is the latter, you will never see a connection in other subroutines. Also, are you checking to make sure that the connect was successful? See perldoc DBI.
In Section
Seekers of Perl Wisdom
|
|