I just tried to use const_missing (which I think is a
neat idea).

Shouldn't it work at the top level? Am I doing something
wrong?

  def const_missing
    "not found"
  end

  p FOO

The above gives an error.

Hal

--
Hal Fulton
hal9000 / hypermetrics.com