In agreement with JavaFan, use an application framework such as CGI::Application and the plugin CGI::Application::Plugin::DBH. It should'nt be too much work to convert your two scripts (A, B whatever..) to runmodes.
In reply to Re^3: DB Connections across scripts from a module
by marto
in thread DB Connections across scripts from a module
by LinuxUser2008
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |