in reply to Re: Errors from a simple Package
in thread Errors from a simple Package
Hi runrig,
Sorry - I don't follow. What I mean by "centralised" is, putting them in a package, so that in general I'll just have a single command for each query in my main scripts. It can get quite lengthy to do everything in the main scripts, especially when one includes writing the SQL command to a debug logfile. Is that what you thought I meant? If so, how do you think connect_cached and prepare_cached would help achieve that? From looking at them in the DBI doco, it looks as if they are mainly for improving performance on some kinds of repeated connections/queries.
Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Errors from a simple Package
by runrig (Abbot) on Mar 17, 2011 at 23:44 UTC | |
by tel2 (Pilgrim) on Mar 18, 2011 at 21:13 UTC |