From: Eero Saynatkari Date: 2006-10-16T15:44:05+09:00 Subject: Re: Unbalanced code snippet include --YolNsh7G+K7zsfIR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2006.10.16 11:45, Rick DeNatale wrote: > On 10/15/06, Rick DeNatale wrote: > >On 10/15/06, Peter Lynch wrote: >=20 > As an afterthought, having answered your question without analysis of > whether this is a good thing, there are probably saner approaches, two > which come to mind are: >=20 > 1. defining the condition separately as a function or a lambda. > 2. defining it as a string and using one of the eval family of > functions to evaluate it. Definitely. The best thing to do would be to define a top-level method for it, #require the file and then use the method in the conditional. Maintaining the proposed scheme would probably be a nightmare. --YolNsh7G+K7zsfIR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFMymi7Nh7RM4TrhIRApepAJ0fKTUe7pFaEbWxthXg0ern9ElXxwCgtb3m 2zJnJNpe9OoiUpnAi3ks6Jo= =jjKe -----END PGP SIGNATURE----- --YolNsh7G+K7zsfIR--