Subject: Developers of Sympa
List archive
Re: [sympa-developpers] [sympa-commits] sympa[10705] trunk/src/lib/Sympa/Instruction.pm: [dev] load dependencies at runtime, and only if needed
- From: Guillaume Rousse <address@concealed>
- To: address@concealed
- Subject: Re: [sympa-developpers] [sympa-commits] sympa[10705] trunk/src/lib/Sympa/Instruction.pm: [dev] load dependencies at runtime, and only if needed
- Date: Wed, 28 May 2014 13:18:52 +0200
Le 27/05/2014 15:54, IKEDA Soji a écrit :
Hi,That would seem merely hiding the dust behind the carpet, at the cost of additional external code moreover.
How about using Class::Autouse?
I prefer to adresse the actual problem at the source, and find some way to pass the relevant parameters directly. Just passing a Sympa::Site instance, or using a global $main::site instance, for instance, would be enough in most cases.
--
Guillaume Rousse
INRIA, Direction des systèmes d'information
Domaine de Voluceau
Rocquencourt - BP 105
78153 Le Chesnay
Tel: 01 39 63 58 31
Attachment:
smime.p7s
Description: Signature cryptographique S/MIME
-
Re: [sympa-developpers] [sympa-commits] sympa[10705] trunk/src/lib/Sympa/Instruction.pm: [dev] load dependencies at runtime, and only if needed,
IKEDA Soji, 05/27/2014
- Re: [sympa-developpers] [sympa-commits] sympa[10705] trunk/src/lib/Sympa/Instruction.pm: [dev] load dependencies at runtime, and only if needed, Guillaume Rousse, 05/28/2014
Archive powered by MHonArc 2.6.19+.