in reply to DB Connections across scripts from a module
How do you 'invoke' script B? If it is by running the script using exec or system then you can't share the DB connection - it's a different application using different memory.
If you are loading script B using require or some similar technique show us the code you are using that is failing. With a little imagination you should be able to reduce the code to a couple of small sample scripts that demonstrate the issue (by attempting to share a variable for example).
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: DB Connections across scripts from a module
by LinuxUser2008 (Acolyte) on Jun 03, 2010 at 06:38 UTC | |
by JavaFan (Canon) on Jun 03, 2010 at 07:43 UTC | |
by marto (Cardinal) on Jun 03, 2010 at 07:53 UTC |