Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: DBI::SQLite and apache

by halfcountplus (Hermit)
on Jun 12, 2009 at 19:09 UTC ( [id://771068]=note: print w/replies, xml ) Need Help??


in reply to Re: DBI::SQLite and apache
in thread DBI::SQLite and apache [SOLVED]

How do you know that the connect, the prepare and the execute "work fine"? You do not test the return value of these functions.

No, but there are already "subjects" in the database and these are read and displayed correctly. Perhaps I should have explained this further...in any case, it is *not* because $db is a bad handle. I will add the warns tho, you are right, they should be there from the start.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://771068]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-19 13:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found