Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Aug 2000
Posts: 335
Member
Member
Offline
Joined: Aug 2000
Posts: 335
Quote
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". smile

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:

Code
our $Config = $::Config;

Sponsored Links
Entire Thread
Subject Posted By Posted
Loading a package from another package Dave_L 10/08/2003 5:21 AM
Re: Loading a package from another package Charles Capps 10/08/2003 5:39 AM
Re: Loading a package from another package Dave_L 10/08/2003 6:11 AM
Re: Loading a package from another package Charles Capps 10/08/2003 6:28 AM
Re: Loading a package from another package Burak 10/08/2003 6:04 PM
Re: Loading a package from another package Dave_L 10/08/2003 6:43 PM
Re: Loading a package from another package Burak 10/08/2003 6:55 PM
Re: Loading a package from another package Charles Capps 10/08/2003 7:24 PM
Re: Loading a package from another package Burak 10/08/2003 7:40 PM
Re: Loading a package from another package Dave_L 10/08/2003 7:56 PM
Re: Loading a package from another package Charles Capps 10/08/2003 8:27 PM
Re: Loading a package from another package Burak 10/08/2003 8:35 PM
Re: Loading a package from another package Dave_L 10/08/2003 8:41 PM
Re: Loading a package from another package Dave_L 10/08/2003 8:52 PM
Re: Loading a package from another package Burak 10/08/2003 8:58 PM
Re: Loading a package from another package Dave_L 10/08/2003 9:09 PM
Re: Loading a package from another package Burak 10/08/2003 9:39 PM
Re: Loading a package from another package Dave_L 10/08/2003 11:31 PM
Re: Loading a package from another package Burak 10/08/2003 11:37 PM
Re: Loading a package from another package Burak 10/08/2003 11:38 PM
Re: Loading a package from another package Dave_L 10/09/2003 7:58 AM
Re: Loading a package from another package Charles Capps 10/09/2003 8:04 AM
Re: Loading a package from another package Dave_L 10/09/2003 8:17 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)