quote:
Originally posted by Burak:
But, $::Config & then our $Config is not meaningfull... it must be our $Config = foo...
The only reason I added "our $Config" was to suppress warning messages like these that occur for references to $Config:
Variable "$Config" is not imported at main.plx line 15.
Global symbol "$Config" requires explicit package name at main.plx line 15.Do you mean that "our $Config" should be replaced with "our $Config = $::Config" ?
That works too, but it doesn't appear to matter which one of those I use, the code executes the same way. But like I said, I don't fully understand "our".
P.S. I just checked, and other modules that are "use"-d by main.cgi have the following, so I see what you're saying: