From: Eric MSP Veith Date: 2010-06-21T22:12:27+09:00 Subject: Re: Namespacing a class -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brian, On Monday 21 June 2010, Brian Candler wrote: > > - ---%<--- > > namespace A > > you mean 'module A' ? Err, yes, sorry. Freudian slip. :-) > > Besindes, of course, the naming (A::B vs C)? > > That's the main difference. Constant lookups are modified, e.g. > referring to 'D' inside B will look for A::B::D, A::D or ::D in that > order (I believe) Thank you for your answer! That clarifies a lot. Modules are used for mixins. Is it possible -- and does it make sense at all - -- to mixin a class into another class? I guess not? TIA, Eric -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkwfZSgACgkQhS0drJ3goJITEwCfcP4Xu+f7r0ft1S+A4AVQAODu YFEAn3a0qAwfspUpZ88+y/CQPEnpOuBb =HV2R -----END PGP SIGNATURE-----