I'm using local, so that the variables defined only stay within that procedure. They don't need to be global variables.
As for your suggestion of passing the variable out, that didn't work. I guess that $mwsdbh is not really a scalar. How can I reference it properly?
#!/massyn.pl The more I learn, the more I realize I don't know. Albert Einstein 1879-1955
In reply to Re: Re: Re: Re: Can't call method "prepare" on an undefined value
by Massyn
in thread Can't call method "prepare" on an undefined value
by Massyn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |