From: Greg Brondo Date: 2004-04-01T01:39:21+09:00 Subject: Re: require usage and namespaces Simon Strandgaard wrote: > On Tue, 30 Mar 2004 22:33:26 +0000, Greg Brondo wrote: >> Ok, I'm a little confused but I know you guys know the answer ;-) >> >> Say I have script A and it executes a 'require' for module B and module >> C. Now lets say that within module B there is also a require for module C >> that executes. >> >> Do I now have two copies of module C loaded in two seperate namespaces? >> Or is there no harm in this and pretty much the norm? >> > > require checks the filename, and skips if the file already is loaded. > namespace doesn't have impact on require. > > -- > Simon Strandgaard Thanks much for the info!