Knowing TIMTOWTDI I seek advice. A core aspect of much of my Day-Job is writing CGIs that access an Oracle Database. I am in the process of developing a standard library for my programming department which uses the DBI libraries.
The question is as follows --
Currently we "eval" the "prepare" and "execute" statements in order to capture any possible errors to $@ and prevent uncontrolled bailouts from the CGI. I have however read warnings that eval can slow down execution of the entire program ( although if used once the source goes on to say, don't worry about using it again because the damage is already done. )
Is there a way to accomplish these goals without taking the hit from the eval? Also, is there an eval hidden within the prepare and execute code which makes it pointless for me to bother attempting to avoid the eval?
Thanks in advance All,
Sifmole
In reply to DBI and Eval by Sifmole
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |