I'm testing different aspects of embperl and modperl programming for a project
I have.
One of these aspects is database programming. I like the DBIx::Recordset
approach to get several items, but for complex updates and single-value
selects, DBI seems better.
Well, my questions is how I will make only one connect to the database instead
of connecting for each and every query. I believe there must be a simple
solution to this, but it's nowhere to be found in the Embperl dox. Maybe it
belongs somewhere else; could someone give me a pointer to a good place to look?
--
Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582
Kaki Data tshirts, merchandize Fax: 3816 2582
Howitzvej 75 Åben 14.00-18.00 Email: kar@webline.dk
2000 Frederiksberg Lørdag 11.00-17.00 Web: www.suse.dk
I have.
One of these aspects is database programming. I like the DBIx::Recordset
approach to get several items, but for complex updates and single-value
selects, DBI seems better.
Well, my questions is how I will make only one connect to the database instead
of connecting for each and every query. I believe there must be a simple
solution to this, but it's nowhere to be found in the Embperl dox. Maybe it
belongs somewhere else; could someone give me a pointer to a good place to look?
--
Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582
Kaki Data tshirts, merchandize Fax: 3816 2582
Howitzvej 75 Åben 14.00-18.00 Email: kar@webline.dk
2000 Frederiksberg Lørdag 11.00-17.00 Web: www.suse.dk