>> Think of do-end as a block that iterates 1 time. That's what it is! Please read my posting history, blogs, Ruby open source, etc. (-; Robert Klemme wrote: > Actually it's not the "10" but the "times" because "CPU8086" would be a > method. > > def CPU8086(&b) The point: I thought a method was forbidden as a constant. Easy to write but hard to call. By contrast... doc = Hpricot(my_html_string) His Whyness did something to the module to make it take a method call directly... -- Phlip http://www.oreilly.com/catalog/9780596510657/ "Test Driven Ajax (on Rails)" assert_xpath, assert_javascript, & assert_ajax