print eval { return 'Surprise!' };
You could wrap the prepare() and execute() statements in an eval block, which is much improved, and is still in the spirit of your code. You'll want to move the $@ checking, though.
In reply to Re: calling all DBI wizards...
by chromatic
in thread calling all DBI wizards...
by d_i_r_t_y
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |