As Fletch says, your my variables are invisible outside the file that they are declared in. You probably want to declare package variables with use vars or our.
Also, why are you putting all of your db.cgi code into the SUBS package? Looks like you should re-read perlmod.
--"The first rule of Perl club is you don't talk about Perl club."
In reply to Re: using modules
by davorg
in thread using modules
by maderman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |