santhosh_89 has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks, I will be used DBI module.I wanted to create a database connection with perl a time,The connection will be global Whenever I need to execute the postgres query,I will check the connection and execute the sql query is it good method or whenever i need to execute the postgres query on that time I need to connect with database and execute the query,once operation is succeed,close the connection.is it good method.which is the best method in this module.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Perl with Database connection.
by scorpio17 (Canon) on Aug 03, 2009 at 13:35 UTC | |
Re: Perl with Database connection.
by Anonymous Monk on Aug 03, 2009 at 07:37 UTC | |
by vinoth.ree (Monsignor) on Aug 03, 2009 at 08:06 UTC | |
by Anonymous Monk on Aug 03, 2009 at 08:13 UTC | |
by santhosh_89 (Scribe) on Aug 03, 2009 at 08:23 UTC | |
by vinoth.ree (Monsignor) on Aug 03, 2009 at 08:39 UTC | |
by santhosh_89 (Scribe) on Aug 03, 2009 at 08:43 UTC | |
Re: Perl with Database connection.
by bichonfrise74 (Vicar) on Aug 03, 2009 at 18:57 UTC |
Back to
Seekers of Perl Wisdom