in reply to Re: Re: Can't call method "prepare" on an undefined value
in thread Can't call method "prepare" on an undefined value
Did you try sending the $mwsdbh variable as a parameter to the subroutines?
That way it should be known and accessible in the subroutines.
I'm still confused about the use you make of the "local" keyword for the declaration of your variables inside the subroutine. If you have a moment to spare, could you explain it?
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Can't call method "prepare" on an undefined value
by Massyn (Hermit) on Dec 19, 2002 at 00:26 UTC | |
by CountZero (Bishop) on Dec 19, 2002 at 19:37 UTC |