Practical mod_perl / HTML Book /



previous page: 20.1.5.3. Opening connections with different parameters
  
page up: HTML Version of the book
  
next page: 20.1.5.5. The morning bug

20.1.5.4. Cannot find the DBI handler


You must use DBI->connect( ) as in normal DBI usage to get your $dbh database handle. Using Apache::DBI does not eliminate the need to write proper DBI code. As the Apache::DBI manpage states, you should program as if you are not using Apache::DBI at all. Apache::DBI will override the DBI methods where necessary and return your cached connection. Any disconnect( ) calls will just be ignored.

 

Continue to:

  • prev: 20.1.5.3. Opening connections with different parameters
  • Table of Contents
  • next: 20.1.5.5. The morning bug







TOP
previous page: 20.1.5.3. Opening connections with different parameters
  
page up: HTML Version of the book
  
next page: 20.1.5.5. The morning bug


Menu

  • HTML Book
  • PDF Book
  • Download Code
  • Table of Contents
  • Errata
  • mod_perl2 User's Guide
  • Sitemap

Search


Add to Google




Creative Commons License


Written by
Eric Cholet (Logilune) and
Stas Bekman (StasoSphere & Free Books).


[ Privacy Policy | Terms of Use | About Us | Search ]

© 2007 StasoSphere.com