hello, could anyone explain why sometimes a module is referenced with "::" before its name? like in ::A::B::C is it equivalent to the regular form "A::B::C"? thanks
on 2009-05-04 02:09
on 2009-05-04 02:27
It's simply saying "do the lookup starting at the global scope and work down" instead of "go up the scope hierarchy until you find what I'm looking for". Useful in the case where you might have similarly named classes in differing scopes and need to specify exactly which class you want. Jason
on 2009-05-04 02:43
thanks Jason, very clear explanation.