On 12 Jun 2000, Dave Thomas wrote:

> 
> How about making any assignment to one of these globals-with-a-
> side-effect generate a warning if -w was in effect. That way you'd at
> least know that it was happening.

Would it be possible to have a test for "when calling this code, it
is possible to exit leaving a global variable changed"?.  There are
only so many wasy to leave a method, module... without completely
crashing.

This sounds like I am talking about post-conditions here, so I suppose
I am asking for support for design by contract!  Hmm, *That Book* has
definately had a strong influence on me! :-) [So what effect will the
Ruby one have?]

	Hugh
	hgs / dmu.ac.uk