OTOH another way to guarantee the right behaviour is to put the subroutine in a module. And that module not coincidentally in my case is where the name and password are, making it easy to change the password periodically.
Of course dealing with mod_perl you probably get to curse the "won't stay shared" error much more than I do. :-)
In reply to RE (3): passing DBI database handles to subroutines
by tilly
in thread passing DBI database handles to subroutines
by moo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |