in reply to using modules
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."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: using modules
by maderman (Beadle) on Nov 09, 2001 at 20:24 UTC | |
by davorg (Chancellor) on Nov 09, 2001 at 20:35 UTC | |
by maderman (Beadle) on Nov 09, 2001 at 20:44 UTC |