On Wed, May 04, 2005 at 06:18:11AM +0900, John Carter wrote: > On Wed, 4 May 2005, SER wrote: > > >>Once again, static typing reared its head on the mailing list, and > >once > >>again, the knights of the Ruby table slayed the beast... > > > >It would be more accurate to say that the Knights claimed the beast > >was: > > > >1) impossible to implement > > > http://rubyforge.org/snippet/detail.php?type=snippet&id=47 > > Description: > Searches through all defined symbols for near misses in namespace. > Hopefully some of those listed will be mispelling bugs. > It's also interesting to note that perl does a simpler (but surprisingly effective) check if you enable warnings: code: #!/usr/bin/perl -w $a = 1; print $aa + 3; output: Name "main::a" used only once: possible typo at test.pl line 3. Name "main::aa" used only once: possible typo at test.pl line 5. Use of uninitialized value in addition (+) at test.pl line 5. 3 Joost.