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.
In reply to Re^2: Errors from a simple Package
by tel2
in thread Errors from a simple Package
by tel2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |